<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>手表</title>
<style>
#d0{
width: 171px;
height: 102px;
margin: 0 auto;
}
#d1{font-size: 24px}
#d2{
width: 180px;
height: 150px;
line-height: 240px;
}
#d3{
text-align: center;
height: 35px;
}
#d4{
text-align: center;
color: #777;
}
</style>
</head>
<body>
<div id="d0">
<div id="d1"><b>众筹</b> </div>
<div id="d2">
<img src="exer/imgs/img01.png" alt="加载失败">
</div>
<div id="d3">苹果I-Watch呼吸表带</I-Watch></div>
<div id="d4">一场手腕的呼吸</div>
</div>
</body>
</html>
HTML和css的小练习2/div/尺寸/内外边框等CSS使用
最新推荐文章于 2022-02-05 23:13:14 发布