Today i started to learn CSS i found things to be interesting here i will be covering some of the major key points which can be used later
1. W3C world wide web css validator : CSS codes could be wrong and the computer will not give any error so we need to check the code in validator
2. CSS follows the rules of specificity like element like paragraph is more specific than body , and id is even more specific than paragraph it also depends on which command is used last "
3. use inspect in chrome for link to specificity checker
checking why priority is not working 4. body{} and html {} is same in css
5.main{} can be used once in a while
6. to make something priority use !important in it i.e p{font; red!important}
7. use of border tag
8. if you want to add just add some text to your page in html just type p*10>lorem
day 1 css
No comments:
Post a Comment