[英]opera overflow issue css/html
I have a problem with my gradient. 我的渐变色有问题。 The gradient is not displaying wel in opera .
歌剧中的渐变不显示wel。 What am I doing wrong?
我究竟做错了什么? see jsfiddle for further code:)
有关更多代码,请参见jsfiddle :)
http://jsfiddle.net/KtDTK/7/ http://jsfiddle.net/KtDTK/7/
<div class="product_1">
<div class="product_block">
<div class="block-gradient">
</div>
<div class="block-top">
<div class="text">
<h4>kenmerk header</h4>
<div class="kenmerk">
kenmerk
</div>
</div>
</div>
<div class="block-mid">
<div class="intro">
Introduction
</div>
</div>
<div class="block-footer">
<a class="meerinfo" href="/empty.php?p=meerinfo&menuID=1">info</a>
</div>
</div>
<div class="order">
<p><a class="order_text" href="#">Bestellen</a></p>
</div>
</div>`
Decrease height instead of using margin-top: -43px;
降低高度而不是使用
margin-top: -43px;
in your .block-gradient
div. 在您的
.block-gradient
div中。
.block-gradient {
border-radius: 253px 33% 304% 0;
height: 107px;
/*margin-top: -43px;*/
opacity: 0.4;
width: 204px;
z-index: 1;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.