CSS Battle #143 – Simple Circle #1138
meg-gutshall
started this conversation in
CSS Battles
Replies: 2 comments
-
First attempt – 654.05 {210}<div id=circle></div>
<style>
body{
background: #F5D6B4;
margin: 0;
}
#circle {
float: left;
width: 200px;
height: 200px;
clip-path: circle();
background: #D86F45;
}
</style> Minified – 781.34 {83}<style>*>*{background:radial-gradient(circle at 100px 100px,#D86F45 100px,#F5D6B4 0 Knocked down a few characters – 786.6 {80}<style>*>*{background:radial-gradient(circle at 106q 106q,#D86F45 106q,#F5D6B4 0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Code Source – 790.19 {78}<style>*>*{background:radial-gradient(circle,#D86F45 106q,#F5D6B4 0)75vw -50px |
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 {characters}
Beta Was this translation helpful? Give feedback.
All reactions