这个例子有什么缺点吗?
.class { max-height: 500px; max-height: 50vh; }
我想这样做是因为如果vh某些浏览器不支持,该浏览器将应用max-height: 500px;并忽略vh.
vh
max-height: 500px;
css
css ×1