CSS padding-inline

Previous Next

Demo of the different values of the padding-inline property.

Click the property values below to see the result:

padding-inline: 0;
padding-inline: 10px;
padding-inline: 50px;
padding-inline: auto;
padding-inline: 1%;
padding-inline: 5%;
padding-inline: 50px 5px;
See this blue div element with different padding-inline values.
See this blue div element with different padding-inline values.
See this blue div element with different padding-inline values.
See this blue div element with different padding-inline values.
See this blue div element with different padding-inline values.
See this blue div element with different padding-inline values.
See this blue div element with different padding-inline values.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯