圆角边框
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.t1{
width: 100px;
height: 100px;
border: 10px dashed blue;
border-radius: 0 0 0 50px;
}
.t2{
width: 100px;
height: 100px;
border: 10px dashed blue;
border-radius: 0 0 200px 200px;
}
#d1 div{
width: 100px;
height: 50px;
margin: 30px;
background-color: #e70e27;
border-radius: 50px 50px 0 0;
}
#d1 img{
border-radius: 50px;
}
</style>
</head>
<body>
<div></div>
<div class="t1"></div>
<div class="t2"></div>
<div id="d1">
<div></div>
<img src="../../lession02/6.背景/images/abc.jpg" alt="">
</div>
</body>
</html>
盒子阴影
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
div{
width: 100px;
height: 100px;
border: 10px solid blue;
box-shadow: #41d7b9 10px 10px 1px;
}
img{
margin: 0 auto;
height: 500px;
border-radius: 500px 500px 500px 500px ;
box-shadow: yellow 10px 10px 100px;
}
</style>
</head>
<body>
<div></div>
<div style="height: 800px;width: 600px;margin: 0 auto;text-align: center">
<img src="../../lession02/6.背景/images/abc.jpg" alt="">
</div>
</body>
</html>