Web programing | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Web programing

This is the general question for web programming. How do we know what attributes in html or properties in css do we need to set? Do we need to know all browsers defaults? For example why don't we write everywhere font-style: normal. Why are we sure that all browsers default option is exactly "normal"?

7th Apr 2020, 9:12 PM
ŠœŠ°ŠŗсŠøŠ¼
1 Resposta
+ 4
Because default font style is normal no need to to add font-style: normal; there are many CSS browser support differences , You can use SASS to make this CSS browser support code easy as SASS auto generate different browser CSS code https://www.w3schools.com/cssref/css3_browsersupport.asp
7th Apr 2020, 11:47 PM
Sudarshan Rai
Sudarshan Rai - avatar