是否可以修改/调整渐变背景,以便淡入淡出开始。例如,看到这里的小提琴http://jsfiddle.net/gZgLc/5/调整css渐变背景
比方说,例如,我想白色的ti开始在'123test'文本淡入,我该怎么做?
HTML
<div id="main">
<div class="feature-box">
<div class="feature-box-tab">
<div class="slide" style="height:250px;">
<div class="inner">
<ul class="breadcrumb">
<li><a href="index.php">Home</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="single-feature-top">
<p>123test. 123test<br><br>
</div>
<br>
</div>
CSS
#main {
width:958px;
position:relative;
top:-9px;
background:#FF9900 url(../images/core/header.png) no-repeat center top;
border:1px solid #dadada;
border-top:none;
border-bottom:2px solid #dadada;
-webkit-border-radius:8px;
-moz-border-radius:8px;
-ms-border-radius:8px;
-o-border-radius:8px;
border-radius:8px;
margin:0 auto 25px;
background: #fff;
background: url('linear-gradient.png') 0 0 repeat-x;
background: -webkit-linear-gradient(#fff, #FF9900);
你的意思上的苍蝇,或者只是改变CSS所以它总是有什么不同?如果你只是想知道什么是正确的语法...我建议只使用这个工具:http://www.colorzilla.com/gradient-editor/ – robooneus
是的,我只是永久的意思,所以梯度是我想要的地方始终开始。我不希望它改变。谢谢,我会查看链接 –
你可以在#main后面添加#background'div'吗? –