css('max-height'));然而,我的网站是加载:最高高度没有应用。当加载网站时,控制台中的结果是:script.js:28 Initial max height of $('.wordboard'): undefinedHowever, I want to apply as soon as the window is loaded)
script.js:31 $('.wordb
我尝试下一个代码:
@media screen and (max-width: 1280px) and (max-height: 1024px) {...}@media screen and (max-width: 1366px) and (max-height: 768px) {...}@media screen and (max-width: 1400px) and (max-height: 1050px) {...}@media screen and (max-width: 1440px) and (max-height</e
我在enquire.js中使用一系列基于高度的媒体查询来“缩放”图片。当你快速增加浏览器的高度时,图片和页脚之间会有很大的差距。如果你慢慢地增加高度,就不会有很大的差距。我可以使用enquire.js以某种方式覆盖此行为吗? enquire.register("screen and (max-height: 9