dev-resources.site
for different kinds of informations.
CSS3: Pseudo-Elements
Published at
6/14/2020
Categories
css
css3
pseudoelements
Author
ankittanna
Author
10 person written this
ankittanna
open
What is CSS Pseudo-Elements?
Are Pseudo-Elements and Pseudo-Classes the same?
We as UI developers tend to confuse between Pseudo-Elements (::) and Pseudo-Classes (:).
Pseudo-elements represent physical element which is not visible in your DOM where as Pseudo-classes represent a state of an HTML element. Both of these features of CSS3 help us write clean HTML code and ultimately simplified DOM.
Check out this small 10 minutes tutorial to know more about CSS3 Pseudo-Elements.
I am a content creator at EverydayJavaScript. You can checkout the growing YouTube channel and provide your feedback.
pseudoelements Article's
7 articles in total
Selectors in CSS
read article
Everything about CSS Pseudo classes & elements, and their use cases
read article
Mastering CSS3 Selectors: A Complete Guide with Examples
read article
CSS3 Pseudo-Classes and Pseudo-Elements: An In-Depth Look
read article
Use a pseudo-element from CSS instead of toUpperCase method from JS
read article
CSS ::first-letter
read article
CSS3: Pseudo-Elements
currently reading
Featured ones: