CSS Battle #62 – Sunset #957
Narigo
started this conversation in
CSS Battles
Replies: 2 comments 3 replies
-
Code Source – 606.9 {426}<div></div>
<style>
body {
background: #191919;
display: grid;
place-items: center;
}
div {
background:
radial-gradient(circle at 100% 100%, #824B20 100px, #0000 0),
radial-gradient(circle at 0 100%, #E08027 100px, #0000 0),
radial-gradient(circle, #FFF58F 30px, #0000 0) 0 20px,
#F2AD43;
width: 150px;
height: 200px;
border-radius: 75px 75px 20px 20px;
}
</style> |
Beta Was this translation helpful? Give feedback.
1 reply
-
Code Source – 590.21 {994}<window>
<sun></sun>
<mtL></mtL>
<mtR></mtR>
</window>
<style>
body{
background:#191919;
display: flex;
justify-content: center;
align-items: center;
}
window {
width: 150px;
height: 200px;
background: #F2AD43;
border-top-left-radius: 43%;
border-top-right-radius: 43%;
border-bottom-left-radius: 11%;
border-bottom-right-radius: 11%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
position: absolute;
}
sun{
background: #FFF58F;
width: 60px;
height: 60px;
border-radius: 50%;
margin-top: 36px;
position: absolute;
}
mtL{
background: #E08027;
width: 150px;
height: 150px;
border-radius: 50%;
margin-top: 160;
margin-right: 116;
position: absolute;
}
mtR{
background: #824B20;
width: 150px;
height: 150px;
border-radius: 50%;
margin-top: 160;
margin-left: 116;
position: absolute;
}
</style> |
Beta Was this translation helpful? Give feedback.
2 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