If border=5px, width=90px, height=90px then total height and length should be=90+90+5+5 na??? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

If border=5px, width=90px, height=90px then total height and length should be=90+90+5+5 na???

11th May 2020, 9:10 AM
Mallika Gupta
4 Réponses
+ 1
div { border: 5px solid green; width: 90px; height: 90px; } For this code they have done: 90+5+5 fir total height and width Whyyyyy😟
11th May 2020, 9:38 AM
Mallika Gupta
0
Margin is missing and maybe border doesn't count.
11th May 2020, 9:14 AM
Oma Falk
Oma Falk - avatar
0
Oh ... Dont add width and height xxx xxx xxx has total height 3 not 6
11th May 2020, 9:46 AM
Oma Falk
Oma Falk - avatar