New course! Every coder should learn Generative AI!
Try a free lesson+ 11
What is the purpose of padding in CSS?
1 Answer
0
CSS paddings are used to create space around the element, inside any defined border.
//
https://www.geeksforgeeks.org/css-margins-padding/amp/
https://www.w3schools.com/css/css_padding.asp