代码:
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>115-116</title>
</head>
<body>
<style>
.ca2{width: 300px;
height: 300px;
text-shadow:10px 10px 5px red;
}
/* 水平/垂直/模糊度/颜色 -加逗号再加一个阴影*/
.ca2{
box-shadow:10px 10px 5px 1px rgb(20, 255, 83) inset;
}
footer{
width: 300px;
height: 300px;
background-color: aqua;
border-radius: 100px;
}
aside{
width: 200px;
height: 100px;
background-color: red;
border-radius: 100px 100px 0 0/100px 100px 0px 0px;
}
header{
width: 500px;
height: 500px;
background-color: green;
border-radius: 0 500px 0 0;
}
#a1{
margin: 0 50%;
width: 500px;
height: 50px;
background-color: rgba(128,128,128,0.5);
box-shadow:5px 5px 0px rgba(0, 0, 0,0.5);
border: 1px solid black;
border-radius: 10px;
}
input{
margin-top: 5px;
}
.cs1{
background-color: rgba(0,0,0,0);
width: 400px;
margin-left: 10px;
height: 30px;
border: none;
outline: none;
}
.cs2{
width: 70px;
height: 35px;
background-color: rgb(39, 115, 159);
}
</style>
<div class="ca2">123123</div>
<footer></footer>
<aside></aside>
<header></header>
<br>
<hr>
<div id="a1">
<form action="">
<input class="cs1" type="text" placeholder="搜索">
<input class="cs2" type="submit" value="GO">
</form>
</div>
</body>
</html>