媒体查询
@media screen and (max-width:800px) { .wrap{ width: 100%; .tracking-feature{ width: 99%; } } } @media screen and (min-width:1200px) { .tracking-feature:hover{ box-shadow: 0 0 2px 1px rgb(100, 100, 100); } .wrap{ background-image: url(~@/assets/img/pc_tpbg.png); } } @media only screen and (min-width: 800px) and (max-width: 1199px) { .wrap{ background-color: @bg-black-rgb; width: 100%; } }
本文来自博客园,作者:zjxgdq,转载请注明原文链接:https://www.cnblogs.com/zjxzhj/p/15544489.html