Created
September 4, 2022 19:34
-
-
Save rasmusmerzin/b42e41c8499aac5360d84385f21e4834 to your computer and use it in GitHub Desktop.
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
@keyframes bg { | |
0% { | |
background-position: var(--x0) var(--y0); | |
} | |
33% { | |
background-position: var(--x1) var(--y1); | |
} | |
66% { | |
background-position: var(--x2) var(--y2); | |
} | |
100% { | |
background-position: var(--x0) var(--y0); | |
} | |
} | |
* { | |
user-select: none; | |
} | |
body { | |
--x0: 40%; | |
--y0: 10%; | |
--x1: 90%; | |
--y1: 70%; | |
--x2: 10%; | |
--y2: 90%; | |
animation: bg 30s ease-in-out infinite; | |
background-image: radial-gradient(#48f, #48f, #b6f, #f48, #f48); | |
background-size: 600vmax 600vmax; | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
img { | |
width: 33vmin; | |
transition: 200ms; | |
filter: drop-shadow(1vmin 2vmin 1rem #0004); | |
} | |
img:hover { | |
filter: drop-shadow(1vmin 2vmin 1rem #0008); | |
} |
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 lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Merzin</title> | |
<link rel="icon" href="/index.svg" /> | |
<link rel="stylesheet" href="/index.css" /> | |
</head> | |
<body> | |
<a href="https://merzin.dev"><img alt="Logo" src="/index.svg" /></a> | |
</body> | |
</html> |
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
<svg width="256" height="256" viewBox="0 0 67.733 67.733" xmlns="http://www.w3.org/2000/svg"> | |
<path fill="#000" d="M33.866 0A33.866 33.866 0 0 0 0 33.866 33.866 33.866 0 0 0 7.887 55.56c2.36-3.42 4.58-6.958 5.184-12.51.594-9.873.907-10.988 4.158-15.786 4.425-5.846 9.72-3.763 18.25-4.775 7.88-1.25 11.887-5.07 15.496-5.094 1.202-.008 2.36.404 3.603 1.474-5.918 2.235-10.814 4.218-17.018 13.169-1.323 6.04-4.506 8.428-2.8 11.42.476.673.934 1.341 1.386 2.008h.004c.052.075.1.15.152.226a119.774 119.774 0 0 1 .996 1.496 112.447 112.447 0 0 1 1.414 2.214 102.94 102.94 0 0 1 1.78 2.97 97.165 97.165 0 0 1 1.142 2.037 89.93 89.93 0 0 1 1.158 2.199l.029.057.058.114c.187.372.372.743.553 1.113l.022.046a78.927 78.927 0 0 1 3.124 7.306 33.866 33.866 0 0 0 21.154-31.378A33.866 33.866 0 0 0 33.866 0zm2.28 45.466zM8.188 55.911a33.866 33.866 0 0 0 2.106 2.243 33.866 33.866 0 0 1-2.106-2.243zm2.475 2.613a33.866 33.866 0 0 0 2.619 2.212 33.866 33.866 0 0 1-2.619-2.212zm3.257 2.683a33.866 33.866 0 0 0 2.706 1.795 33.866 33.866 0 0 1-2.706-1.795zm3.147.782a20.521 20.521 0 0 0-.26 1.127c.077-.38.163-.755.26-1.127zm-.208 1.16a33.866 33.866 0 0 0 2.824 1.452 33.866 33.866 0 0 1-2.824-1.453zm3.605 1.793a33.866 33.866 0 0 0 2.376.92 33.866 33.866 0 0 1-2.376-.92zm25.975.362a33.866 33.866 0 0 1-2.775.973 33.866 33.866 0 0 0 2.775-.973zm-22.896.804a33.866 33.866 0 0 0 3.053.826 33.866 33.866 0 0 1-3.053-.826zm19.466.344a33.866 33.866 0 0 1-2.218.547 33.866 33.866 0 0 0 2.218-.547zm-15.77.604a33.866 33.866 0 0 0 2.57.41 33.866 33.866 0 0 1-2.57-.41zm12.597.124a33.866 33.866 0 0 1-2.054.302 33.866 33.866 0 0 0 2.054-.302zm-9.155.384a33.866 33.866 0 0 0 3.185.168 33.866 33.866 0 0 1-3.185-.168zm6.175.022a33.866 33.866 0 0 1-2.657.134 33.866 33.866 0 0 0 2.657-.134z"/> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment