CSS Pseudo Elements: What they are & how to use them

preview_player
Показать описание
In today's video we're going to talk about pseudo elements. We'll discuss what they are, how to style them and also go over some different ways of using them.

More on pseudo elements:

➡️ How To Become A Frontend Web Developer In 2020

➡️ CSS Fundamentals

0:00 Intro
0:34 What is a pseudo-element?
1:17 Fundamentals
5:07 Real-world examples
8:58 Outro
Рекомендации по теме
Комментарии
Автор

Clarification:
Regarding writing pseudo elements with one colon - this will still work, as CSS3 is backwards compatible with previous versions (in CSS1 and CSS2, you'd write :before), however in CSS3 they make the distinction between pseudo classes(one colon) and pseudo elements(two colons), and so moving forward you should write your pseudo elements with two colons.

ProgrammingWithPax
Автор

You are a lifesaver, thank you so much 👍

satwantsinghwork
Автор

This video was very helpful in relation to the react dynamic style. Thank you very much.

antiquejung