html怎么设置锯齿边框样式,CSS3实现边框锯齿效果
通過CSS3的linear-gradient實(shí)現(xiàn)的
.bg{
width:300px;
height:50px;
background:#caca8c;
background-image:-webkit-gradient(linear,50%?0,0?100%,
from(transparent),
color-stop(.5,transparent),
color-stop(.5,#d86707),
to(#d86707)
),
-webkit-gradient(linear,50%?0,100%?100%,
from(transparent),
color-stop(.5,transparent),
color-stop(.5,#d86707),
to(#d86707)
);
background-image:-moz-linear-gradient(50%?0?-45deg,
transparent,
transparent?50%,
#d86707?50%,
#d86707
),-moz-linear-gradient(50%?0?-135deg,
transparent,
transparent?50%,
#d86707?50%,
#d86707
);
background-size:30px?15px;
background-repeat:repeat-x;
background-position:0?100%;
}
原文:http://www.cnblogs.com/snowbaby-kang/p/3708783.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的html怎么设置锯齿边框样式,CSS3实现边框锯齿效果的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python邮件图片加密软件_用Pyth
- 下一篇: wps中图片怎么居中_wps图片怎么添加