I just started learning CSS, JS, and HTML and I have a question about scaling an image based on a song. Despite searching through YouTube and various forums, I still haven't found a solution. Any help would be greatly appreciated :)
Here is the HTML code:
<div class="animated testTransition">
<div class="watermark">
<img class="top" onclick="watermarkClick()" href="" src="media/webicon.png" height="70" width="70" alt="unsupported">
</div>
</div>
And here is the CSS code:
.watermark {
margin-left: 1450px;
margin-top: 665px;
-webkit-transition: all 1s ease;
-moz-webkit-transition: all 1s ease ;
-ms-webkit-transition: all 1s ease ;
-o-webkit-transition: all 1s ease ;
transition: all 1s ease ;
}
.watermark:hover {
margin-left: 1450px;
margin-top: 665px;
position: relative;
transform: scale(1.1,1.1);
transition: all .5s;
cursor: pointer;
animation: pulse;
animation-delay: 0.1s;
}
Currently, I do not have any JavaScript, except for opening a link.