screen.height && screen.width
screen.height && screen.width
how to get window max width in js
screen.height;
screen.width;
-
mbp 2018
-
dell 2419HM
@media only screen and (max-width: 500px) {
body {
background: #000;
}
}
https://css-tricks.com/css-media-queries/
CSS3 Media Queries
https://github.com/scottjehl/Respond
clientHeight & clientWidth & offsetHeight & offsetWidth & outerWidth & innerWidth & outerWidth & outerHeight
https://www.cnblogs.com/xgqfrms/p/10076517.html
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10362497.html
未经授权禁止转载,违者必究!