lunes, 27 de octubre de 2014

Using the :nth-child ranges





Using this nth-child(n+4):nth-child(-n+8) we can select elements within certain ranges, in this case elements 4-8. Using this nth-child(n+2):nth-child(odd):nth-child(-n+9) we can select elements within certain ranges (2-9) that are odd-numbered children.



source

No hay comentarios:

Publicar un comentario