0

Can anybody tell me how to adjust the height and width of (background-image)

24th Aug 2016, 3:56 PM
shanto khan
shanto khan - avatar
3 Antworten
+ 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.
24th Aug 2016, 5:24 PM
HawkEye
HawkEye - avatar
0
hmmm...it solved using background-size:100%
25th Aug 2016, 3:27 AM
shanto khan
shanto khan - avatar
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; }
13th Oct 2016, 4:02 PM
PIYUSH KUMAR