【发布时间】:2020-06-23 13:35:12
【问题描述】:
@media screen and (max-width: 600px) {
.sidebar {
width: 100% !important;
height: auto !important;
}
}
@media screen and (max-width: 600px) {
.content {
width: 100% !important;
margin-top: 20px !important;
}
@media screen and (max-width: 600px) {
.jdzn-footer-text img {
width: 100% !important;
}
}
@media screen and (max-width: 600px) {
.featured-card {
width: 100% !important;
}
}
我已经有了元视口标签,谁能帮我解决这个问题?谢谢。
【问题讨论】:
-
没有足够的信息来帮助您解决这个问题。您的媒体查询语法是正确的,所以那里没有错误。剩下的就是你如何使用 Bootstrap 以及你想要实现的具体目标。请参考stackoverflow.com/help/how-to-ask和stackoverflow.com/help/minimal-reproducible-example
标签: html css bootstrap-4 responsive-design