Skip to content
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (177)
  • Reference (2172)
  • Snippets (69)

Category: CSS Selectors

1SMARTchicken - Code Made Easy

Category: CSS Selectors

  • Tutorials (177)
  • Reference (2172)
  • Snippets (69)
  • Blog (1)
  • About Us
  • Tags
  • Donations
1SMARTchicken - Code Made Easy
  • Tutorials (177)
  • Reference (2172)
  • Snippets (69)
1SMARTchicken - Code Made Easy

Category: CSS Selectors

  • Tutorials (177)
  • Reference (2172)
  • Snippets (69)
  • Home
  • Reference
  • CSS Reference
  • CSS Selectors
CSS Reference

CSS – * Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / 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.

CSS Reference

CSS – :active Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Pseudo-Class, Selector

The :active selector is used to select the active link, which becomes active when it’s clicked.

CSS Reference

CSS – ::after Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Pseudo-Element, Selector

The ::after pseudo-element inserts something after the content of a selected element.

CSS Reference

CSS – [attribute] Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The [attribute] selector selects every HTML element with the specified attribute.

CSS Reference

CSS – [attribute=value] Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The [attribute=value] selector selects every element with both the specified attribute and specified value.

CSS Reference

CSS – [attribute~=value] Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The [attribute~=value] selector selects every element with a specific attribute that has a value containing a specified stand-alone word.

CSS Reference

CSS – [attribute|=value] Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The [attribute|=value] selector selects every element with a specific attribute that has a value equal to or starting with a specified value.

CSS Reference

CSS – [attribute^=value] Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector, String

The [attribute^=value] selector selects every element with a specific attribute that starts with a value beginning with a specified string.

CSS Reference

CSS – [attribute$=value] Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector, String

The [attribute$=value] selector selects every element with a specific attribute that has a value ending in a specified string.

CSS Reference

CSS – [attribute*=value] Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector, 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.

CSS Reference

CSS – ::before Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Pseudo-Element, Selector

The ::before pseudo-element inserts something before the content of a selected element.

CSS Reference

CSS – :checked Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Form, Pseudo-Class, Selector

The :checked selector matches every checked input element for radio buttons, checkboxes, and option elements.

CSS Reference

CSS – .class Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The .class selector selects all HTML elements with a specific class, which may include multiple elements on the page.

CSS Reference

CSS – :default Selector

July 30, 2024 / CSS Reference, CSS Selectors, Reference / Form, Selector

The :default selector selects the default form element in a group of related elements, and can only be used on button, input type=”checkbox”, input type=”radio”, and option elements.

CSS Reference

CSS – :disabled Selector

July 30, 2024 / CSS Reference, CSS Selectors, Reference / Form, Pseudo-Class, Selector

The :disabled selector matches all disabled form elements.

CSS Reference

CSS – Element Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The element selector selects all HTML elements with a specific element tag name.

CSS Reference

CSS – Element > Element Selector

July 29, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The element > element selector is used to select elements with a specific parent. The element > element selector can be used along with the #id, .class, and any other selector.

CSS Reference

CSS – Element + Element Selector

July 30, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The Element + Next selector selects the very next element specified after (not within) the first specified element. The element + element selector can be used along with the #id, .class, and any other selector.

CSS Reference

CSS – Element ~ Element Selector

July 30, 2024 / CSS Reference, CSS Selectors, Reference / Selector

The element ~ element selector selects sibling elements that appear after the specified element. Both of the specified elements must share the same parent.

CSS Reference

CSS – : empty Selector

July 30, 2024 / CSS Reference, CSS Selectors, Reference / Pseudo-Class, Selector

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

1 2 3 Next →

or View All Tags

Tutorials

  • HTML Tutorials (40)
  • CSS Tutorials (45)
    • CSS Flexbox (12)
  • JavaScript Tutorials (6)
  • jQuery Tutorials (13)
  • PHP Tutorials (0)
  • SQL Tutorials (0)
  • Python Tutorials (73)
    • Python File Handling (4)
    • Python and MySQL (5)
  • WordPress Tutorials (0)

Reference

  • HTML Reference (244)
    • HTML Tags (107)
    • HTML Attributes (46)
    • HTML Events (76)
    • HTML Resources (15)
  • CSS Reference (309)
    • CSS Selectors (55)
    • CSS Properties (220)
    • CSS Functions (17)
    • CSS Resources (17)
  • JavaScript Reference (555)
    • JavaScript Selectors (7)
    • JavaScript Operators (12)
    • JavaScript Statements (17)
    • JavaScript Methods (284)
    • JavaScript Properties (162)
    • JavaScript RegExp (45)
    • JavaScript Resources (28)
  • jQuery Reference (220)
    • jQuery Selectors (54)
    • jQuery Methods (140)
    • jQuery Ajax Methods (16)
    • jQuery Properties (17)
    • jQuery Resources (9)
  • PHP Reference (460)
    • PHP Keywords (59)
    • PHP Functions (400)
    • PHP Constants (0)
    • PHP Resources (1)
  • SQL Reference (290)
    • SQL Keywords (59)
    • MySQL Functions (138)
    • SQL Server Functions (83)
    • SQL Resources (10)
  • Python Reference (94)
    • Python Methods (86)
    • Python Resources (8)
  • WordPress Reference (0)

Snippets

  • HTML Snippets (3)
  • CSS Snippets (12)
  • JavaScript Snippets (5)
  • jQuery Snippets (8)
  • PHP Snippets (1)
  • SQL Snippets (3)
  • Python Snippets (1)
  • WordPress Snippets (36)
1SMARTchicken - Code Made Easy

333 Washington Blvd.
Suite 126
Marina del Rey, CA 90292
United States

contact2025@1smartchicken.com

  • About Us
  • Privacy Policy
  • Cookie Policy
  • Terms & Conditions

Search for Code:

or View All Tags

Copyright © 2025 1SMARTchicken | All Rights Reserved.