CSS Battle #56 – Skull #921
Narigo
started this conversation in
CSS Battles
Replies: 1 comment
-
Code Source – 600.01 {1162}<div class=skull>
<div class=top></div>
<div class=bottom></div>
</div>
<style>
body {
background: #191919;
display: grid;
place-items: center;
}
.skull {
display: grid;
place-items: center;
}
.skull>* {
background: #4F77FF;
height: 100px;
width: 120px;
}
.top {
border-radius: 60px 60px 10px 10px;
background:
radial-gradient(circle at 35px 73px, #191919 20px, #0000 0),
radial-gradient(circle at 85px 73px, #191919 20px, #0000 0),
radial-gradient(circle at 60px 101px, #191919 10px, #0000 0),
#4F77FF
;
}
.bottom {
width: 80px;
height: 30px;
border-radius: 0 0 20px 20px;
background:
linear-gradient(90deg, #191919 10px, #0000 0 15px, #191919 0 25px, #0000 0 30px, #191919 0) 20px 25px / 40px 50px no-repeat,
radial-gradient(circle at 40px 1px, #191919 10px, #0000 0),
radial-gradient(circle at 25px 25px, #191919 5px, #0000 0),
radial-gradient(circle at 40px 25px, #191919 5px, #0000 0),
radial-gradient(circle at 55px 25px, #191919 5px, #0000 0),
#4F77FF
;
}
</style> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Link to battle:
Let's battle! ⚔️
Copy the code block below to format your comment on the discussion thread:
What others will see:
This will result in a nice hidden bit like so:
Code Source – score {character count}
Beta Was this translation helpful? Give feedback.
All reactions