【发布时间】:2016-07-12 01:46:59
【问题描述】:
一位客户指出,通过 Microsoft Edge 查看时某些图像无法正常工作,但使用 Chrome、firefox 甚至旧版本的 IE 都可以正常工作:
我的代码很简单:
.card .staff_pic {
width: 100%;
height: 100%;
}
.card .linkedin-icon {
margin-top: 10px;
}
.card {
height: 100%;
width: 20%;
overflow: hidden;
position: relative;
float: left
}
.card_content {
background-color: rgba(255, 255, 255, 0.5);
padding: 20px;
width: 100%;
height: 90%;
position: absolute;
bottom: -400px;
transition: all .5s ease;
color: #fff
}
.card_content h3 {
font-size: 28px;
margin-top: 1.5em;
color: #fff;
margin-bottom: 0px;
}
.card_content p {
font-size: 18px;
color: white;
}
.card:hover .card_content {
background-color: rgba(151, 145, 59, 0.8);
bottom: 30px;
}
<div class="card">
<img class="staff_pic alignnone size-medium wp-image-4306" src="../wp-content/uploads/2014/10/David.png" alt="David" />
<div class="card_content">
<h3>David Durham</h3>
Head of Bid Management & Consultancy Services
<a href="#" target="_blank">
<img class="linkedin-icon alignnone size-full wp-image-4321" src="../wp-content/uploads/2014/10/linkedin.png" alt="linkedin" width="37" height="36" />
</a>
</div>
</div>
任何帮助将不胜感激。
【问题讨论】:
-
更正了链接
-
在 Edge 中对我来说工作正常。如果这是在实时站点中,您可以发布网址吗?
-
carleyconsult.co.uk/about-us 是显然有问题的地址
标签: css microsoft-edge