我有几个媒体查询。它与宽度完美配合,高度可怕...... !!
我把相同的代码但是..所有宽度都可以。
@media all and (max-width: 800px)
{
.customTips
{
float: left;
position: absolute;
top: 950px;
width: auto;
}
}
@media all and (min-width: 801px) and (max-width: 920px)
{
.customTips
{
float: left;
position: absolute;
top: 950px;
width: auto;
}
}
@media all and (min-width: 921px) and (max-width: 1320px)
{
.customTips
{
width: 15%;
}
}
高度不对的代码'工作正常。
@media all and (min-height: 720px) and (max-height: 767px)
{
.customCadreFormulaire
{
height: 405px !important;
}
}
@media all and (min-height: 768px) and (max-height: 899px)
{
.customCadreFormulaire
{
height: 420px !important;
}
}
当我尝试使用1440/900屏幕的代码时,所有媒体和(最小高度:720px)和(最大高度:767px)的代码在哪里工作? 我不明白为什么,一个想法?感谢..