Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
Learn CSS PseudoClasses vs PseudoElements in this CSS PseudoSelectors tutorial for beginners. Both pseudoclasses and pseudoelements are used as pseudoselectors in CSS. Examples of each type of pseudoselector are provided.
Subscribe ➜ https://bit.ly/3nGHmNn
This lesson is part of a CSS for Beginners tutorial series playlist:
• CSS Tutorials for Beginners
All Resources for this CSS Tutorial Series: https://github.com/gitdagray/css_course'>https://github.com/gitdagray/css_course
Course Updates ➜ https://courses.davegray.codes/
CSS Responsive Card Design | MiniProject Tutorial for Beginners
(00:00) Intro
(00:05) Welcome
(00:26) PseudoClasses vs PseudoElements
(01:38) Starter Code
(02:13) :active
(02:58) :is
(04:06) :anylink
(05:02) Specificity with :is and :where
(07:55) :target
(09:33) :not
(11:31) :nthchild
(13:30) Create a pseudoelement
(14:54) Emoji pseudoelements
(15:22) Fancy quotes with ::before and ::after
(18:36) ::firstletter
(19:49) ::firstline
⚙ Web Dev Tools:
Chrome Browser: https://www.google.com/chrome/
Visual Studio Code (VS Code): https://code.visualstudio.com/
Live Server VS Code Extension: https://marketplace.visualstudio.com/...
vscodeicons VS Code Extension: https://marketplace.visualstudio.com/...
Github Themes VS Code Extension: https://marketplace.visualstudio.com/...
W3C CSS Validator: https://jigsaw.w3.org/cssvalidator/
Specificity Calculator: https://specificity.keegan.st/
HTML Special Characters and Entities: https://unicodetable.com
CanIUse.com: https://caniuse.com/
References:
MDN CSS: https://developer.mozilla.org/enUS/d...
MDN CSS Basics: https://developer.mozilla.org/enUS/d...
MDN CSS Selectors: https://developer.mozilla.org/enUS/d...
MDN How to Apply Colors to HTML Elements with CSS: https://developer.mozilla.org/enUS/d...
MDN CSS Values and Units: https://developer.mozilla.org/enUS/d...
MDN The Box Model: https://developer.mozilla.org/enUS/d...
MDN Styling Lists: https://developer.mozilla.org/enUS/d...
MDN Display Property: https://developer.mozilla.org/enUS/d...
MDN Floats: https://developer.mozilla.org/enUS/d...
MDN Columns: https://developer.mozilla.org/enUS/d...
MDN Margin Collapsing: https://developer.mozilla.org/enUS/d...
MDN WhiteSpace: https://developer.mozilla.org/enUS/d...
MDN Positioning: https://developer.mozilla.org/enUS/d...
MDN Flexbox: https://developer.mozilla.org/enUS/d...
MDN Basic Concepts of Grid Layout: https://developer.mozilla.org/enUS/d...
MDN Grid Template Areas: https://developer.mozilla.org/enUS/d...
MDN CSS Images: https://developer.mozilla.org/enUS/d...
MDN CSS Background Images: https://developer.mozilla.org/enUS/d...
Chip Cullen Article on Content Layout Shift: https://chipcullen.com/whatwidthand...
MDN CSS Media Queries: https://developer.mozilla.org/enUS/d...
MDN CSS PseudoClasses and PseudoElements: https://developer.mozilla.org/enUS/d...
MDN List of CSS PseudoClasses: https://developer.mozilla.org/enUS/d...
MDN List of CSS PseudoElements: https://developer.mozilla.org/enUS/d...
✅ Follow Me:
Github: https://github.com/gitdagray
Twitter: / yesdavidgray
LinkedIn: / davidagray
Blog: https://yesdavidgray.com
Reddit: / daveoneleven
Was this tutorial about CSS PseudoClasses and PseudoElements helpful? If so, please share. Let me know your thoughts in the comments.
#css #pseudo #classes