CSS Battle #92 – Squeeze #1270
meg-gutshall
started this conversation in
CSS Battles
Replies: 1 comment 1 reply
-
Micha's solution– 99.9% {596.45}<div o></div>
<div t></div>
<div h></div>
<div m>
<style>
body {
display: flex;
margin: 50px -125px;
background: #6592CF;
}
div {
width: 200px;
height: 200px;
background: #243D83;
border-radius: 100%;
position: relative;
}
[o] {
margin-right: 28px;
}
[h] {
margin-left: 28px;
}
[t]:before,
[t]:after,
[h]:before,
[h]:after{
content: '';
position: absolute;
width: 32px;
height: 32px;
background:#6592CF;
left: -30.25px;
z-index: 10;
}
div:before {
top: 58px;
border-radius: 0 0 50% 50%;
border-bottom: 2px solid #243D83;
}
div:after {
top: 108px;
border-radius: 50% 50% 0 0;
border-top: 2px solid #243D83;
}
[m] {
position: absolute;
width: 100vw;
margin: 0 125px;
height: 40px;
border-radius: 0;
top: 45%;
}
</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
-
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