B
B
billgeits9764552015-09-10 19:38:48
css
billgeits976455, 2015-09-10 19:38:48

How to implement normal css background display?

Hello! Help have a block with a height of 285px and an image with dimensions of 1918 × 451 pixels. How to make the background image display normally on all screen resolutions.
___________________________________________
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Inozemtsev, 2015-09-10
@dmi3mart

You can also trybackground-size:cover;

O
Oaks, 2015-09-10
@oaksaudio

Or background-size: contain;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question