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: 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