为什么我添加完蒙版后直接用渐变器没效果 大虾指点一下

来源:百度知道 编辑:UC知道 时间:2024/06/18 01:41:57
我用的是cs3

CSS

关键就在这里:

Xml代码
h1 { position: relative }
h1 span { position: absolute } h1 {
font: bold 330%/100% "Lucida Grande";
position: relative;
color: #464646;
}
h1 span {
background: url(gradient.png) repeat-x;
position: absolute;
display: block;
width: 100%;
height: 31px;
}

h1 { position: relative }
h1 span { position: absolute } h1 {
font: bold 330%/100% "Lucida Grande";
position: relative;
color: #464646;
}
h1 span {
background: url(gradient.png) repeat-x;
position: absolute;
display: block;
width: 100%;
height: 31px;
}

就这样, 你做到了 ^_^