div+css背景渐变色代码
发布日期:2018-04-25摘要:div+css背景渐变色代码这个示例代码就是上面是红色,下面是黑色,渐变色的。 round {height: 200px;width:100px;marg...
div+css背景渐变色代码这个示例代码就是上面是红色,下面是黑色,渐变色的。
<style type="text/css">
#round {
height: 200px;
width:100px;
margin:0px auto;
background-image: -moz-linear-gradient(top, #F00, #000);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #F00), color-stop(1,#000));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F00', endColorstr='#000', GradientType='0');
}
</style>
<div id="round"></div>
演示效果图
-
给我们打电话
7*24小时服务热线:1399999999
全国客服热线:400-0000-000 -
百度地图
福建省漳州市 -
给我们发邮件
E-mail:[email protected]
在线沟通