Last active
April 21, 2022 13:23
-
-
Save pikapower9080/ed441d1ffa07d5eb813259c9f0f1e6d3 to your computer and use it in GitHub Desktop.
A cute picture of a dog, another html-sandbox example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>DOGGO!</title> | |
<style> | |
body{ | |
overflow: clip; | |
} | |
#doggo{ | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
transition: 900ms; | |
filter: blur(2px); | |
border-radius: 50%; | |
} | |
#doggo:hover{ | |
transform: translate(-50%, -50%) scale(1.4) rotateZ(360deg); | |
filter: none; | |
} | |
</style> | |
</head> | |
<body> | |
<img src="https://post.medicalnewstoday.com/wp-content/uploads/sites/3/2020/02/322868_1100-800x825.jpg" width="350" id="doggo"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment