Animating Single Div Art

One thing that single div pieces rarely do is animate. If you can transform your div or one of its pseudo elements, that’s fair (as Lynn Fisher does with her fantastic BB-8). But you cannot directly change the opacity or transform of the individual “elements" you create inside your div, since they are not actual DOM elements.
I am a big believer of trying something a little different and interesting to learn tools you otherwise might never learn. Working with the constraints of a single div might not be great for production work, but it can be a great exercise (and challenge) to stretch your skills in a fun way. In that spirit, we’ll use this technique to explore how Custom Properties (CSS Variables) work and even provide us a path to animation inside our div.

Animating Single Div Art is a post from CSS-Tricks

Link: https://css-tricks.com/animating-single-div-art/

How Can I Make My Icon System Accessible?

Here’s a question I got the other day?
Would you suggest icon fonts or inline SVGs for a complex single page application? And are there specific accessibility concerns for either? Accessibility is especially important for us because schools use our products. I ask because we are currently in the process of unifying and setting up an icon system.

I don’t think I would make the choice based on what “kind" of website I was building, so let’s ignore that part …

How Can I Make My Icon System Accessible? is a post from CSS-Tricks

Link: https://css-tricks.com/can-make-icon-system-accessible/

Floating Labels are Problematic

I feel like all these issues are handleable, but the damning issue is #3: they need space to move into. Labels can’t go away and need to be readable at all times, so a floating label pattern doesn’t actually save any space. You could have just put the labels where they float to to begin with. It’s still a neat effect, but it doesn’t buy you anything and may just cost you something.
Direct Link to Article — …

Floating Labels are Problematic is a post from CSS-Tricks

Link: https://medium.com/simple-human/floating-labels-are-a-bad-idea-82edb64220f6