To Top
(2) (2) (2) (1) (2) (2) (3) (1) (1) (1) (2) (1) (1) (1) (2) (1) (1) (2) (2) (1) (1) (1) (2) (1) (1) (1) (1) (1) (1) (1) (1) (2) (3) (5) (1) (1) (1) (1) (1) (1) (12) (1) (1) (1) (2) (1) (1) (16) (2) (1) (1) (14) (1) (1) (1) (2) (1) (2) (1) (1) (1) (1) (1) (8)
   Tags

Latest Tweets

Tweet

…just my two cents.

Tag: :last-child


CSS3 Selectors :last-child

January 6th, 2010 — 9:45am

Of all the CSS3 selectors (http://web NULL.archive NULL.org/web/20080503011837/http://www NULL.w3 NULL.org/TR/css3-selectors/) the structural pseudo-classes have to be my favourite. In particular I love :last-child selector, the :last-child CSS selector is incredibly powerful especially when positioning elements in a row, I am currently finding it incredibly useful when doing menus. Instead of providing a last class on the very last element in the row, you can now use pure CSS to achieve the same effect.

Read the full post on dtsn (http://dtsn NULL.co NULL.uk/2009/12/15/css3-selectors-last-child/)

VN:F [1.9.3_1094]
Rating: 5.0/5 (1 vote cast)

16 comments » | other blog posts about CSS

Back to top