css圆角特效
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>css圆角特效</title>
<style>
div{
text-align: center;
font-size: 32px;
width: 100px;
color: white;
padding: 10px;
margin: 10px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
}
.box1{
background-color: black;
}
.box2{
background: -webkit-gradient(linear,left top,left bottom,from(#000),to(#999));
background: -moz-linear-gradient(top,red,blue);
}
.box3{
background-color: blue;
-webkit-box-shadow:3px 3px 5px #000;
-moz-box-shadow: 3px 3px 5px #000;
}
</style>
</head>
<body>
<div class="box1">圆角1</div>
<div class="box2">圆角2</div>
<div class="box3">圆角3</div>
</body>
</html>
.rounded_sch_btn {
width: 90px;
height: 30px;
/* border: 1px solid #999999; */
background-color: #f6bb46;
color:#fff;
text-align:center;
line-height:30px;
cursor:pointer;
border-radius: 4px;
-moz-border-radius: 180px;
-webkit-border-radius: 180px;
}
width: 90px;
height: 30px;
/* border: 1px solid #999999; */
background-color: #f6bb46;
color:#fff;
text-align:center;
line-height:30px;
cursor:pointer;
border-radius: 4px;
-moz-border-radius: 180px;
-webkit-border-radius: 180px;
}