我在 Eloqua 上创建了一个电子邮件模板,所以我成功地做到了在移动视图上隐藏图像。所以它只显示在桌面视图上。现在我想做的是仅在移动视图上而不是在桌面视图上查看另一个图像。我怎样才能做到这一点?请看一下我的代码
@media (max-width: 480px) {
.size-controller {
width: 100%;
}
.mobile-16px-font {
font-size: 16px !important;
}
.mobile-hide {
display: none !important;
}
.mobile-show {
}
.mobile-100-percent {
width: 100% !important;
}
}
<br> <span style="font-size: 20px; color: #26478D;">April 30 Web event, 4.30-5.00pm</span>
<img src="http://images.go.experian.com/EloquaImages/clients/ExperianInformationSolutionsInc/%7B2fd05069-3482-4a59-a8ee-b60f8b8c2c5e%7D_macbook-pro-3030365_300.jpg" width="250" align="right" class="mobile-hide" hspace="10">
<img src="http://images.go.experian.com/EloquaImages/clients/ExperianInformationSolutionsInc/%7B2fd05069-3482-4a59-a8ee-b60f8b8c2c5e%7D_macbook-pro-3030365_300.jpg" width="250" align="right" class="mobile-show" hspace="10">
<br><span style="font-size: 14px; color: rgb(87, 87, 85); border-style: none; padding-right: 10px; padding-bottom: 10px; padding-top: 10px;" class="mobile-16px-font">
We did have something a bit more elaborate than a web event planned for April, however we’re equally excited to see how we go! We’ll be holding it at 4.30pm (EST) on April the 30th. <br><br>
我似乎无法仅在移动视图而非桌面视图上显示图像
守着一只汪
达令说
相关分类