why outer block level css style not apply on inline block level elements and why inline styles not work on block level elements? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

why outer block level css style not apply on inline block level elements and why inline styles not work on block level elements?

28th Dec 2018, 6:37 AM
Mehboob Ali Shah
Mehboob Ali Shah - avatar
2 Answers
+ 5
It works. But outer element must be must be block if inner element is also block
28th Dec 2018, 8:51 AM
Googel
Googel - avatar
+ 1
Ok i try then i will tell you
28th Dec 2018, 8:59 AM
Mehboob Ali Shah
Mehboob Ali Shah - avatar