
CSS – * Selector
The * selector selects all HTML elements in the document, and if used together with another element can be used to select all that element’s child elements.
The * selector selects all HTML elements in the document, and if used together with another element can be used to select all that element’s child elements.
The :active selector is used to select the active link, which becomes active when it’s clicked.
The ::after pseudo-element inserts something after the content of a selected element.
The [attribute] selector selects every HTML element with the specified attribute.
The [attribute=value] selector selects every element with both the specified attribute and specified value.
The [attribute~=value] selector selects every element with a specific attribute that has a value containing a specified stand-alone word.
The [attribute|=value] selector selects every element with a specific attribute that has a value equal to or starting with a specified value.
The [attribute^=value] selector selects every element with a specific attribute that starts with a value beginning with a specified string.
The [attribute$=value] selector selects every element with a specific attribute that has a value ending in a specified string.
The [attribute*=value] selector selects every element with a specific attribute that has a value containing a specified string even as part of another word.
The ::before pseudo-element inserts something before the content of a selected element.
The :checked selector matches every checked input
element for radio buttons, checkboxes, and option
elements.
The .class selector selects all HTML elements with a specific class, which may include multiple elements on the page.
The element selector selects all HTML elements with a specific element tag name.
The element > element selector is used to select elements with a specific parent.
The :default selector selects the default form element in a group of related elements.
The :disabled selector matches all disabled form elements.
The Element + Next selector selects the very next element specified after (not within) the first specified element.
The element ~ element selector selects sibling elements that appear after the specified element. Both of the specified elements must share the same parent.
Thanks for your support!
All are affiliate links. Thank you for your support!