CSS SELECTORS MADE EASY - HTML CSS Tutorial for Beginners

Published: 06 December 2018
on channel: LearnCode.academy
295,097
3.7k

You won't get far in web dev without understanding CSS selectors, and they aren't hard at all!

Play with the code! https://codepen.io/anon/pen/BGeKVM

View the whole Web Development Tutorials for Beginners playlist!    • Latest Web Development Tutorials For ...  

Using CSS selectors are the bread and butter of HTML and CSS coding. You have to think about what elements on your page you want to target and how to write rules that cleanly target and apply css styling to those elements.

2 good rules you always want to follow: don't make rules more specific than they have to be (but also don't make them overly generic like "target every div on a page"), and also don't repeat yourself (DRY).

~-~~-~~~-~~-~
Also watch: "Tailwind CSS - why CSS utility classes save so much time"
   • Tailwind CSS - why CSS utility classe...  
~-~~-~~~-~~-~


Watch video CSS SELECTORS MADE EASY - HTML CSS Tutorial for Beginners online without registration, duration hours minute second in high quality. This video was added by user LearnCode.academy 06 December 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 295,097 once and liked it 3.7 thousand people.