<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
div{
border: 2px solid red;
width:300px;
height:50px;
border-radius:25px;
/*水平 负靠左,右靠上 垂直负上正下*/
box-shadow:10px 10px 5px #7FFFD4
/* css3 */
background-color:pink;
background-image:url(img/32.png);
background-size: 10px;
background-clip: border-box;
}
h1{
text-shadow: 5px 5px 5px #008000;
}
img{
border-radius: 70px;
}
</style>
</head>
<body>
<h1>中国加油</h1>
<div>武汉加油!!!</div>
<img src="img/32.png" />
</body>
</html>
web前端基础(11html5和css)
猜你喜欢
转载自blog.csdn.net/chehec2010/article/details/104446205
今日推荐
周排行