<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
font {
font-size: 120px;
text-align: center;
color: yellow;
background: repeat;
background-color: aquamarine;
}
.a {
font-size: 50px;
}
/*id选择器*/
#id1 {
color: blue;
}
#id2 {
color: red;
}
#id3 {
color: pink;
}
/*边框
* 1像素
* 2线的类型
* 3边框的颜色
* */
div {
border: 1px solid red;
/*width: 200px;*/
height: 100px;
width: 30%;
background-color: pink;
background-image: url(../img/2ad0eff7ab2ce6eb0143eb7757948ab2.jpg);
color: yellow;
}
</style>
</head>
<body>
<font>变态!</font>
<font id="id3">王正宇你好骚哦</font>
<div>
哈哈哈哈
</div>
<div>垃圾</div>
</body>
</html>
css边框
最新推荐文章于 2023-02-26 00:38:26 发布