CSS

来源:互联网 发布:查看linux开机启动项 编辑:程序博客网 时间:2024/05/18 02:44
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
.div1{
width: 630px;
height: 330px;
background-color:white;
margin: auto;

border: 30px solid black;
border-image: url(11.jpg) 30 round;
}
.div2{
width:630px;
height: 330px;
background-color: blue;
border-radius: 60%;
background:-webkit-linear-gradient(right top,rgba(5,5,5,1),rgba(255,0,0,0.9),rgba(255,189,92,0.8),rgba(128,0,128,0.7)); 
}
.div11{
width: 200px;
height: 200px;
background: #aaa;
border: 40px solid;
border-width:30px; 
border-image: url(11.jpg) 30% round;
/*border-image: url(11.jpg) 30 30 30 30  round;*/
/*border-image: url(11.jpg) 30 round;*/
}
.div-1{


}
</style>
</head>
<body>
<div class="div1">
<div class="div2"></div>
</div>
<div class="div11"></div>
</body>
</html>
0 0