CSS Reference

CSS – :first-child Selector

The :first-child selector selects all HTML elements of a specified type that are also the first child of their parent element.

CSS Reference

CSS – ::first-letter Selector

The ::first-letter selector is used to select the first letter of a specified, block-level element such as a paragraph or heading.

CSS Reference

CSS – : empty Selector

The :empty selector selects empty HTML elements, which means an element without any child elements or text.

CSS Reference

CSS – ::first-line Selector

The ::first-line selector is used to select the first line of text of a specified, block-level element such as a paragraph or heading.

CSS Reference

CSS – :first-of-type Selector

The :first-of-type selector selects all elements that are the first child of a specified type of their parent element.

CSS Reference

CSS – :hover Selector

The :hover selector selects elements when you mouse over them, and is commonly used for links and images with links, but can be used on any element.

CSS Reference

CSS – #id Selector

The #id selector selects an HTML element with a specific id. HTML only allows for one unique #id per document.

CSS Reference

CSS – :in-range Selector

The :in-range selector selects elements with a value that is within a specified range, and only works for input elements with min/max attributes.

CSS Reference

CSS – :invalid Selector

The :invalid selector selects form elements with a value that does not validate according to the element’s settings.

CSS Reference

CSS – :lang Selector

The :lang selector is used to select elements with a lang attribute with a specified value (e.g., lang = “en” or lang = “en-us”).

CSS Reference

CSS – :last-child Selector

The :last-child selector selects all HTML elements of a specified type that are also the last child of their parent element.

CSS Reference

CSS – :last-of-type Selector

The :last-of-type selector selects all elements that are the last child of a specified type of their parent element.

CSS Reference

CSS – :link Selector

The :link selector is used to select unvisited links, and will not style links you have already visited.

CSS Reference

CSS – :nth-child() Selector

The :nth-child() selector selects all specified elements that are the nth child of their parent, regardless of all the children’s types.

CSS Reference

CSS – :nth-last-child() Selector

The :nth-last-child() selector selects all specified elements that are the nth child of their parent counting from the last child.

HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress
HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

1SMARTchicken Icon