This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: _35mNZTAZyPMiHReHmbpuOWmmVp5pkUOSaexXJTmamg
Cover

Understanding Pseudo-Class Selectors

Written by @mcdenny | Published on 2019/11/25

TL;DR
Pseudo-classes are CSS classes used to define the state of an element. They target elements that can’t be targeted with combinators or simple selectors like id or class. They are used to select elements based on their attributes, states, and relative position. A pseudo-class has a simple syntax and is identified by a colon (: pseudo-selector :pseudo-class { property :value; }) Selects the element that is at the root of the document specifically theelement unless you are specifically working in some other environment.

[story continues]


Written by
@mcdenny
Full-Stack Developer

Topics and
tags
css|html|pseudo-classes|css-selectors|beginners|css3|latest-tech-stories|frontend-development
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: _35mNZTAZyPMiHReHmbpuOWmmVp5pkUOSaexXJTmamg