Skip to content

Instantly share code, notes, and snippets.

@pikapower9080
Last active April 21, 2022 13:23
Show Gist options
  • Save pikapower9080/ed441d1ffa07d5eb813259c9f0f1e6d3 to your computer and use it in GitHub Desktop.
Save pikapower9080/ed441d1ffa07d5eb813259c9f0f1e6d3 to your computer and use it in GitHub Desktop.
A cute picture of a dog, another html-sandbox example.
<!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