[wp-trac] [WordPress Trac] #14250: wp_nav_menu separator and first last class
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 25 16:51:41 UTC 2010
#14250: wp_nav_menu separator and first last class
-----------------------------+----------------------------------------------
Reporter: spathon | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: wp_nav_menu
-----------------------------+----------------------------------------------
Comment(by hakre):
I think adding "first" and "last" is enough when it's added additionally.
I've implemented something like that for widgets: #12615
I do not see any first and last selectors in css2:
http://www.w3.org/TR/CSS2/selector.html
even, odd and nth child:
http://www.w3.org/Style/Examples/007/evenodd
CSS3 pseudo classes:
http://www.w3.org/TR/css3-selectors/#pseudo-classes
I have no idea which browser do really support that, so it might just be
useful to have some classes for older browsers.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14250#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list