For total box widths, will the internal element (e.g. picture) will resize as I adjust padding? Or does the total value change? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

For total box widths, will the internal element (e.g. picture) will resize as I adjust padding? Or does the total value change?

3rd Aug 2017, 12:45 PM
Jamie Bitzenhofer
Jamie Bitzenhofer - avatar
5 Respostas
+ 4
Visual and interactive comparison between margin and padding: https://code.sololearn.com/W6qLHyeVSHaI/?ref=app
3rd Aug 2017, 5:37 PM
visph
visph - avatar
+ 2
if u increase margin of the box then the area outside the box will change.. if you increase the padding of the box then the area inside the box will be affected..
3rd Aug 2017, 12:49 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
3rd Aug 2017, 12:54 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
0
Thank you for a quick response!
3rd Aug 2017, 12:51 PM
Jamie Bitzenhofer
Jamie Bitzenhofer - avatar
0
Thank you as well!
7th Aug 2017, 11:29 PM
Jamie Bitzenhofer
Jamie Bitzenhofer - avatar