back
Code
CSS
HTML
Web
#div1{
width:250px;
height:75px;
border:7px dotted black;
text-align:center;
background-color:red;
padding:10px;
background-clip:border-box;
}
#div2{
width:250px;
height:75px;
border:7px dotted black;
text-align:center;
background-color:red;
padding:10px;
background-clip:padding-box;
}
#div3{
width:250px;
height:75px;
border:7px dotted black;
text-align:center;
background-color:red;
padding:10px;
background-clip:content-box;
}