CSS Battle #106 – Ryuk's Apple #1327
Narigo
started this conversation in
CSS Battles
Replies: 1 comment
-
|
Still haven't found a way to create an ellipse with rotation with just the Code Source – 604.16 {479}<style>&{background:
linear-gradient(#D4392D,#D4392D)50% 70px / 10px 20% no-repeat,
#000;
&::after,&::before {
content:'';
inset:0;
position:absolute;
--g: radial-gradient(110q 93q,#D4392D 63.5q, #0000 0);
--t: translate(29px)rotate(-57deg);
background:var(--g);
transform:var(--t);
}
&::before {
background:
radial-gradient(1q,#000 31px, #0000 0)48px 30px,
radial-gradient(1q,#000 31px, #0000 0)14px 52px,
var(--g);
transform:scaleX(-1)var(--t);
} |
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.
-
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