fixed tabbing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5b17bb0a01
commit
25e1aa6a24
13
index.html
13
index.html
@ -1,6 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
.image-block img {
|
.image-block img {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
height: auto;
|
height: auto;
|
||||||
@ -37,6 +36,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
const images = document.querySelectorAll("div.image-block img");
|
||||||
|
images.addEventListener();
|
||||||
|
images.addEventListener('click', function(){img.classList.toggle('view')};);
|
||||||
|
|
||||||
|
</script>
|
||||||
<body>
|
<body>
|
||||||
<div class="wishes">
|
<div class="wishes">
|
||||||
<div>
|
<div>
|
||||||
@ -97,11 +102,5 @@
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<script>
|
|
||||||
const images = document.querySelectorAll("div.image-block img");
|
|
||||||
images.addEventListener();
|
|
||||||
images.addEventListener('click', function(){img.classList.toggle('view')};);
|
|
||||||
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user