Pseudo-elements

Pseudo-elements allow to manipulate elements that don’t exist in the document tree. It can be the content of the document element (first line, first letter) or element that does not exit in document tree but can be create through the pseudo-element . For example first line, first letter can be styled by using pseudo-elements like […]

outline

The outline Css property draws the line around the element. The outline property is similar to the border property but is not a part of box model like the border property so it’s not a part of the element’s dimensions. By default, the outline is drawn starting just outside the border edge.

lengths

The CSS data type apples to distant measurements for the following CSS properties: width, height, margin, padding, font-size, border-width, text-shadow etc.. There are two types of length units: relative and absolute.

:nth-last-of-type()

:nth-last-of-type() – pseudo-class | Selectors Level 3 The :nth-last-of-type(an+b) selects last child of its parent element but this child elements is of the specified type. The pattern (an+b) for selected children works the same as for :nth-of-type() but the counting begins form the bottom parent element.

:nth-of-type()

:nth-of-type – pseudo-class | Selectors Level 3 The :nth-of-type(an+b) allows you to select one or multiple elements according to their positions in their parent element. It works similar to nth-child() pseudo-class but with :nth-of-type pseudo-class you select the same type of tag. The :nth-of-type() takes only designated children elements, counts them and matches to the […]