Padding and Margins With CSS padding margin

Padding and Margins With CSS padding margin
1 / 1
Padding and Margins With CSS padding margin - slide 1 of 7 Padding and Margins With CSS padding margin - slide 2 of 7 Padding and Margins With CSS padding margin - slide 3 of 7 Padding and Margins With CSS padding margin - slide 4 of 7 Padding and Margins With CSS padding margin - slide 5 of 7 Padding and Margins With CSS padding margin - slide 6 of 7 Padding and Margins With CSS padding margin - slide 7 of 7
Padding and Margins With CSS padding margin Padding: Inside the border Example (without padding): The space between an element and its border. Example (padding): You can also add padding to one side: h1 border: 8px solid navy; color:

Related Topics

Download this presentation From Below

"Padding and Margins With CSS padding margin" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
Padding and Margins With CSS padding margin<br>
02
Padding: Inside the border Example (without padding): The space between an element and it’s border. Example (padding):<br>
03
You can also add padding to one side: h1 {
border: 8px solid navy;
color: magenta;
font-family: trebuchet ms;
font-size: 300%;
padding-top: 60px;
padding-left: 10px;
padding-bottom: 0px;
padding-right: 120px;
}<br>