add slight hover animation

This commit is contained in:
ajuvercr 2020-09-10 22:02:18 +02:00
parent ed61205a27
commit 407bbc5dab
3 changed files with 6 additions and 5 deletions

View file

@ -72,8 +72,6 @@ function ready() {
if(html) {
create_wrapper.innerHTML = html;
div.appendChild(create_wrapper.firstChild);
console.log(create_wrapper.firstChild);
}
}
}

View file

@ -283,15 +283,18 @@ fieldset p label input {
border-radius: 4px;
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
transition: 0.3s;
transition-property: box-shadow;
margin: 30px auto;
gap: 20px;
padding: 0.5rem;
}
.link:hover {
cursor: pointer;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}
.link__img {

View file

@ -14,10 +14,10 @@
</div>
<div class="buttons">
<button id="previousButton" onclick="window.history.back()">
Vorige!
Vorige
</button>
<button id="nextButton" onclick="goNext()">
Volgende!
Volgende
</button>
</div>
<script>