Universal Selector for CSS

Another very useful tip pulled from the archives. I am including this one as it recently helped out a friend of mine. I guess just because it is an older idea to me does not mean everyone else already knows it.

Okay, I am going to try and not just re-link to other people’s posts without adding my own two cents, but this one does not have much room to expand (short of in its’ uses). It is, however, an extremely awesome tip for you .css coders out there. The universal selector ‘*’. NOTE: you do not need the quotes, just the asterisk.

As this brief article shows, this little addition to your .css opens up a myriad of opportunities, and even fix some things that you used to have to ‘hack.’

Not too shabby for a simple one character addition.

Leave a Comment