Adding pseudo classes ::nth-word/letter ::first/last-word/letter
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md First Commit. Sep 5, 2012
grunt.js First Commit. Sep 5, 2012
jquery.nthEverything.js Better RegEx for Comments in CSS. Dec 15, 2012
jquery.nthEverything.min.js Better RegEx for Comments in CSS. Dec 15, 2012
package.json Correct name. Sep 5, 2012

README.md

nth-Everthing made with js.

##Implemented nth- ##

:nth-letter
:nth-word

Implemented last-##

:last-word
:last-letter

Implemented first-

:first-word

Things that work

Add a hover effet to each odd letter

.className:nth-letter(odd):hover{}

Add a hover effect to :before/:after

.className:nth-letter(odd):hover:after{}

Things that don't and will not work

.className:before:nth-letter

Read more: http://css-tricks.com/a-call-for-nth-everything/