Logo Mark L. Reyes
nth:child CSS Selectors

nth:child CSS Selectors

September 20, 2013
1 min read

CSS3 and IE7/8 versions of nth:child CSS selections,

	/* standard nth */
	ul.menu li:nth-child(3)
	{
			/* styles for the 3rd LI */
	}

	/* IE nth */
	ul.menu>li + li + li

Thanks to, Michael Barrett @ Abouthalf.com