how to use the clockwise notation on CSS paddings
Welcome to the forum!
padding: 10px; /*all sides get a padding of 10px*/
padding: 10px 15px; /*10px top & bottom 15px right & left*/
padding: 10px 15px 5px; /*10px for the top, 15px right & left, 5px for the bottom*/
padding: 10px 15px 5px 12px; /*10px top, 15px right, 5px bottom, 12px left*/
hello
thank you
so my code is like this
padding;40px 20px 20px 40px;
i dont understand whats missing
You have a syntax error.
There should be colon after padding not semi-colon.
thank you ive recified that but still
managed to get it right thank you