0
Can anybody tell me how to adjust the height and width of (background-image)
3 odpowiedzi
+ 4
in CSS . once writing class or id name.
ex
.image {
background-size: 500px;
or
width: 500px;
height: 420px;
or
background-size: cover or contain;
}
I hope you understand.
0
hmmm...it solved using background-size:100%
0
You Can Apply This Method To Any Styling Like(Inline ,External or Internal)
Do Like This :
div1{
background-image:url(pik.jpg);
background-size: 100px 100px;
}