CSS Battle #102 – One Piece #1292
michaella23
started this conversation in
CSS Battles
Replies: 1 comment 1 reply
-
Micha all the characters 595.41 {1396}<div id="head">
<p l></p>
<p r></p>
</div>
<div id="mouth"></div>
<div a>
<p o>
<p t>
<p h>
</div>
<div b>
<p o>
<p t>
<p h>
</div>
<div c>
<p o>
<p t>
<p h>
</div>
<div d>
<p o>
<p t>
<p h>
</div>
<style>
body {
background: #000;
margin: 110px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#head {
width: 150px;
height: 100px;
background: #FFFFFF;
border-radius: 60px;
display: flex;
justify-content: center;
align-items: center;
gap: .65em;
}
[l],[r] {
width: 50px;
height: 40px;
background: #000;
border-radius: 50%;
rotate: -30deg
}
[r] {
rotate: 30deg
}
#mouth {
margin-top: 10px;
width: 54.5px;
height: 20px;
background: repeating-linear-gradient(90deg, #fff, #fff 15px, #000 1px, #000 20px)
}
div {
position: relative;
width: 50px;
height: 50px;
}
[a] {
top: -154;
left: -80;
rotate: -42deg
}
[b] {
top: -204;
left: 80;
rotate: 42deg;
}
[c] {
top: -156;
left: -80;
rotate: 220deg;
}
[d] {
top: -206;
left: 80;
rotate: -219deg
}
[o], [t], [h] {
position: absolute;
width: 25px;
height: 25px;
background: #fff;
border-radius: 50%;
}
[o],[t] {
left: 5;
top: -15px;
}
[t] {
left: 20
}
[h] {
width: 22px;
border-radius: 0;
top: -2;
left: 14;
}
</style> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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 {characters}
Beta Was this translation helpful? Give feedback.
All reactions