back
Code
CSS
HTML
Web
#div20{
width:250px;
height:75px;
border:7px dotted black;
background-image:url('bgimage2.png');
background-repeat:no-repeat;
text-align:center;
background-size:auto;
}
#div21{
width:250px;
height:75px;
border:7px dotted black;
background-image:url('bgimage2.png');
background-repeat:no-repeat;
text-align:center;
background-size:200px 50px;
}
#div22{
width:250px;
height:75px;
border:7px dotted black;
background-image:url('bgimage2.png');
background-repeat:no-repeat;
text-align:center;
background-size:50% 50%;
}
#div23{
width:250px;
height:75px;
border:7px dotted black;
background-image:url('bgimage2.png');
background-repeat:no-repeat;
text-align:center;
background-size:cover;
}
#div24{
width:250px;
height:80px;
border:7px dotted black;
background-image:url('bgimage2.png');
background-repeat:no-repeat;
text-align:center;
background-size:contain;
}