So that when you reduce the screen in the picture on a certain area increased the picture? Suppose that with a mobile resolution there was a section in the picture in the lower left corner or (on the left, on the central or on the right side, or on a certain segment?
- Try setting background: url (); and set the background-size and background-poizations. as an option absolute positioning inside the element and move as you want - Nilsan
|
1 answer
You can use css media queries .
Try changing the page scale here .
.img { float: right; } @media screen and (min-width:1152px){ .img { float: left; } } @media screen and (min-width:1552px){ .img { float: right; margin: 0 auto; border: 1px solid red; } } - a little bit is not, let's say there is a background in the body, and with different media requests, so that the picture does not just fit in another corner, namely, when zooming in, there was the left part of the background, and not just the smaller one, or the center of the same picture, so that increase, increase would be held in a specific point or area - Ksivilian Yavorskii
|