我搞不清楚我在做什么错在这里...我有两个图像在“滑块”,我需要其中之一消失在手机和较小的设备上。我试图创建一个新班级,然后隐藏这个班级,但没有任何事情发生。提前致谢!媒体查询针对特定图像
来源:
<section class="sliderbox" id="menu-homepage">
<img src="img/arrow.png" class="arrow" alt="image" width="300" height="85" align="right">
媒体查询:
@media handheld, only screen and (max-width: 980px) {
.theme-default .nivo-caption{
font-size: 21px;
}
.theme-default .nivoSlider{
height: inherit;
}
.sliderbox-class-arrow {
display: none;
}
直播@ gradepowerbrandon.com/test
谢谢@siyah!我知道我必须做错什么! – user3381297
没问题的人,很高兴帮助。 – Siyah