1padding: 5px 10px 15px 20px; //top right bottom left
2
3padding: 10px 20px;//top & bottom then left & right
4
5padding-top: 5px; //just top padding
6padding-right: 10px; //just right padding
7padding-bottom: 15px; //just bottom padding
8padding-left: 20px; //just left padding
1padding:10px 5px 15px 20px;
2means
3top padding is 10px
4right padding is 5px
5bottom padding is 15px
6left padding is 20px
1padding: 00px 00px 0px 0px; //top right bottom left
2// mnemonic to remeber positions Te-Rri-B-Le (terrible)
1.yourClass {
2 padding-left: 50px; // or
3 padding-left: 1%; // to scale it in relation to its parent
4}
1<h2 style="padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px">London</h2>
2