Back to home prev next
CSS code

I had some extra fun with this challenge, because I solved it live on a Twitch stream! It was pretty straightforward. Some of the folks in my stream said they would have used flex to position the two circles inside of the cylinder. I have gotten so used to using ::before and ::after pseudo-elements that it was my go-to. I wonder if using flex would lead to a better code golf score...

Check out my code