I have 2 mediaquery.
@media screen and (max-device-width: 1199px) {
#content-id {
height: 480px !important;
background: rgb(16, 25, 100);
width: 99%;
border-radius: 5px;
margin-top: 0px;
max-height: 30%;
}
}
2:
@media screen and (min-device-width: 1200px) {
#content-id {
height: 580px !important;
background: rgb(124, 57, 57);
width: 99%;
max-height: 30%;
}
}
As you can see the backgorund and height are difrent. They have to change when the page size is changed.
I use Chrome. When i smalled the page manually with mouse, it doesn't work. Browser's zoom is 100%. But i press right click and do inspect. After when i set devices (ipad or responsive etc.), it's work. If i did that, zoom is smaller than 100% automaticly.
So, I think page's zoom cause this problem. But I couln't fix that. Could you help me?