N
N
narem2018-02-25 10:22:47
Layout
narem, 2018-02-25 10:22:47

How to make a responsive website?

The point is. I write different positions for 2 backgrounds through media screen
Conditionally at a resolution of 1600 it should be in one position, at 1701 another,
i.e. I write
media screen and (min-width: 1600px) and media screen and (min-width: 1400px) and (max-height:1600px).
But for some reason, at a size greater than 1600, it still uses bg, which is intended for resolutions up to 1600.
That is, everything seems to be visible and works, it’s just that media screen and (min-width: 1600px) is crossed out here if you look in the panel and is displayed in priority from here media screen and (min-width: 1400px) and (max-height :1600px). How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kreotech, 2018-02-25
@kreotech

"and (max-height:1600px)"
In the second case, are you sure you wanted to cut off the height?
It should probably be - and (max-width: 1600px)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question