Html dispay none不适用于转换
我使用媒体查询来隐藏iphone图像并显示桌面图像。。。。。 但他的iphone形象并没有出现。。。。 你能告诉我原因吗Html dispay none不适用于转换,html,css,media-queries,css-transitions,Html,Css,Media Queries,Css Transitions,我使用媒体查询来隐藏iphone图像并显示桌面图像。。。。。 但他的iphone形象并没有出现。。。。 你能告诉我原因吗 desktopImage iphoneImage @介质(最大宽度:767px){ #右滑块{ 边框:1px纯红; } #右滑块{ 显示:无!重要; } #右滑块{ 显示:继承!重要; } .desktopContactImage{ 显示:无!重要; } .iphoneContactImage{ 显示:继承!重要; 边框:1px纯红; } } 需要研究一些可能有帮助的问题:
desktopImage
iphoneImage
@介质(最大宽度:767px){
#右滑块{
边框:1px纯红;
}
#右滑块{
显示:无!重要;
}
#右滑块{
显示:继承!重要;
}
.desktopContactImage{
显示:无!重要;
}
.iphoneContactImage{
显示:继承!重要;
边框:1px纯红;
}
}
需要研究一些可能有帮助的问题:
<div class="desktopContactImage" data-caption="<a style='margin-left: 92px; font-size: 18px; color: grey;' href='http://www.w3schools.com/' >Create</a> <div> <a style='margin-left: 92px; font-size: 18px; color: grey;' >View/Edit</a> </div> <a style='margin-left: 92px; font-size: 18px; color: grey;' >Labels</a>" data-image="http://www.defie.co/designerImages/inventoryControl.png">desktopImage</div>
<div class="iphoneContactImage" data-caption="<a style='margin-left: 92px; font-size: 18px; color: grey;' href='http://www.w3schools.com/' >Create</a> <div> <a style='margin-left: 92px; font-size: 18px; color: grey;' >View/Edit</a> </div> <a style='margin-left: 92px; font-size: 18px; color: grey;' >Labels</a>" data-image="http://intra.defie.co/images/cubes/demoImage.png">iphoneImage</div>
@media (max-width: 767px) {
#rightSlider{
border: 1px solid red;
}
#rightSlider{
display:none !important;
}
#rightSlider{
display:inherit !important;
}
.desktopContactImage{
display:none !important;
}
.iphoneContactImage{
display:inherit !important;
border: 1px solid red;
}
}