Answer the question
In order to leave comments, you need to log in
Why don't media queries work on boundary points?
I'm not a specialist. on layout, but I'm wondering why media queries, let's take the example of bootstrap 3, do not work on boundary breakpoints.
for example, a block with classes
.hidden-sm .hidden-md
where, respectively:
@media (max-width: 991px) and (min-width: 768px){
.hidden-sm {
display: none!important;
}
}
@media (max-width: 1199px) and (min-width: 992px){
.hidden-md {
display: none!important;
}
}
Answer the question
In order to leave comments, you need to log in
the problem turned out to be that on high resolution monitors there is a scaling in the system settings (eg 150% for applications and other things) and this gives incorrect display in such situations in browsers. when set to 100% everything is ok. so it might be useful for someone.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question