comment calculé | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

comment calculé

Entrez la largeur totale d'un élément en pixels, si sa largeur=150px, les rembourrages gauche et droit=5px chacun, la largeur de la bordure=2px et les marges gauche et droite=5px chacun.

14th Nov 2021, 3:31 PM
Drame
2 Answers
+ 1
Drame see if this helps. total width = width + padding left + padding right + border left + border rigth So the total width equals 150 + 5 + 5 + 2 + 2 which is 164px.
19th Nov 2021, 6:43 PM
Lebi
0
4th Aug 2022, 10:10 AM
Eliezer Djihinto
Eliezer Djihinto - avatar