+ 5

How do we make the image smaller (as bg image)?

I tried this in the webpage I'm working on and yeah, I've added the pic then the pic is overzoomed I wanted to make it smaller

27th Apr 2017, 2:22 PM
lutang
4 ответов
+ 5
if it's a background use : background-size: cover or background-size: contain
27th Apr 2017, 2:29 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 6
Use css and give a height and width to it
27th Apr 2017, 2:27 PM
Shraddha
Shraddha - avatar
+ 6
@Yaroslav Pieskov, it just fixed my header issue, thanks!
27th Apr 2017, 2:31 PM
lutang
+ 3
no problem
27th Apr 2017, 2:32 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar