CSS is Amazing

I’ve recently seen a few blog posts about some lesser know CSS capabilities that I find to be just amazing. I don’t think they’re the kind of thing that will get used frequently, but I suspect they are quite helpful in specific situations.

Sass Functions to Kick-Start Your Style Sheets highlights some lesser-known ways to manipulate content like darken/lighten, opacify/transparentize, complement, percentage, and if. “If” for CSS really could be fun to work with.

Fun Times with CSS Counters could be used for page numbers, section numbers, and actual counters. I mean who even knew CSS could do this?

I might have to build a toy box site just to play with these.