[wp-trac] [WordPress Trac] #26060: Add and utilize :nth-child() selectors rather than the .alt(ernate) classes

WordPress Trac noreply at wordpress.org
Wed Mar 18 21:47:03 UTC 2015


#26060: Add and utilize :nth-child() selectors rather than the .alt(ernate) classes
-------------------------+---------------------------------
 Reporter:  helen        |       Owner:  helen
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.2
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  4.2-beta     |     Focuses:  ui, administration
-------------------------+---------------------------------

Comment (by helen):

 I don't recall why I went with `.before()`. `.after()` seems to work just
 as well, although it doesn't actually need the order switched.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26060#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list