Back to home prev next
CSS code

I recently was talking with some other CSS battlers and learned some cool tricks they use to solve the challenges. I still decided to go with flexbox for this grid pattern. But I learned that (for code golf anyway)you can use custom attributes - like you with with data- attributes. So instead of giving a class or id I could just put something like left, or L and use that as a selector to save characters.

Check out my code