New course! Every coder should learn Generative AI!
Try a free lesson0
Any difference between div {border:1px; width:8px} and div {border-width:1px; padding:8px;}
2 Answers
+ 2
width is the full width of the container.
padding is inside the container. its a big difference
+ 1
oh I get, thanks