CSS3 Selectors :last-child

Of all the 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

VN:F [1.9.11_1134]
Rating: 5.0/5 (1 vote cast)
CSS3 Selectors :last-child, 5.0 out of 5 based on 1 rating

16 Comments to “CSS3 Selectors :last-child”

  1. invocoes 19 February 2010 at 4:35 pm #

    CSS3 Selectors :last-child http://blog.computer-service-mallorca.co... #jQuery #WordPress #CSS #CSS3 #MooTools

  2. invocoes 15 February 2010 at 5:30 pm #

    CSS3 Selectors :last-child http://blog.computer-service-mallorca.co... #jQuery #WordPress #CSS #CSS3 #MooTools

  3. invocoes 10 February 2010 at 9:00 am #

    CSS3 Selectors :last-child http://blog.computer-service-mallorca.co... #jQuery #WordPress #CSS #CSS3 #MooTools

  4. invocoes 31 January 2010 at 12:03 am #

    CSS3 Selectors :last-child http://blog.computer-service-mallorca.co... #jQuery #WordPress #CSS #CSS3 #MooTools


Leave a Reply

*

Maximum 2 links per comment. Do not use BBCode.