elenat82
6/14/2015 - 8:14 AM

le pseudoclassi :nth-of-type.css

li:first-of-type {
	color: red;
}

li:last-of-type {
	color: red;
}

li:nth-of-type(odd) {
	color: red;
}

li:nth-of-type(2n+1) {
	color: red;
}

li:nth-of-type(even) {
	color: red;
}

li:nth-of-type(2n) {
	color: red;
}


li:nth-of-type(3) {
	color: red;
}


li:nth-of-type(n+4) {
	color: red;
}

li:nth-of-type(-n+3) {
	color: red;
}

li:nth-last-of-type(2) {
	color: red;
}