0
why is the default value not getting restored?? Am I using it wrong?
this is my code. https://code.sololearn.com/WcvH0BwACSze This is the code: <!DOCTYPE html> <html> <head> <title>Inline CSS</title> </head> <body> <p style = "color:#009900; font-size:50px; font-style:italic; text-align:center;"> <style> p { all: initial; } </style> GeeksForGeeks</p> </body> </html>
3 Respostas
+ 2
Because inline styles are the last styles that apply (They have more priority to apply).
+ 2
it worked thanks
+ 1
ok