CSS Battle #4 – Ups n Downs #863
meg-gutshall
started this conversation in
CSS Battles
Replies: 1 comment
-
Griddy!! – 617.72 {327}<div></div><div class=r></div><div></div>
<style>
body {
background: #62306D;
margin: 50px;
display: grid;
grid-template: 1fr / 1fr 1fr 1fr;
}
div {
width: 100px;
height: 200px;
border-radius: 50px;
background: linear-gradient(#62306D 50%, #F7EC7D 0);
}
.r { rotate: 180deg; }
</style>Refactored and minified – 660.03 {199}<div></div><div r></div><div></div><style>body{background:#62306D;display:flex;margin:50}div{width:100;height:200;border-radius:1in;background:linear-gradient(#62306D 50%,#F7EC7D 0)}[r]{rotate:180deg |
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
Uh oh!
There was an error while loading. Please reload this page.
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 {character count}
Beta Was this translation helpful? Give feedback.
All reactions