pseudo-classes added to TextMate CSS Bundle
I’ve added all pseudo-classes and pseudo-elements to my TextMate CSS bundle.
A word of caution: you might want to check which ones are available to you. It will depend on your browser support requirements… And if you don’t know selectivizr, check it out. It will help.
The pseudo-snippets (just made that up) are triggered the same way as the CSS properties, but with the addition of a colon. The only exception to that rule is “of” which is not part of the trigger, so for instance
:nth-last-of-type() is triggered with
:nlt and not
:h will get you
There are actually some other CSS3 additions in the bundle, but I need to clean it up and add more stuff before I talk about it… In the meantime, feel free to poke around in the bundle editor.