CSS :nth-child(n) selector example

:nth-child selector CSS3

The :nth-child(n)  selector matches elements on the basis of their positions within a parent element’s list of child elements.  The :nth-child accepts an argument, N, which can be a keyword, a number, or a number expression of the form an+b.

It is not supported in Internet Explorer 8 (or older) at all. Supporting browsers: Read More


CSS Shorthand – Margin and Padding

css

To write CSS margins and padding shorthand they work the same way. My example here is using padding. For shorthand you start at the top of the element (ID, class, etc…) and go clockwise around. You will end up with TOP RIGHT BOTTOM LEFT, but there are shorthands for the shorthand. I’ll explain. Read More


Copyright © Jason Huber .net
This site is mobile ready. How about you?