Files
ClassContent/历届学生/front-end-team/项目练习/学生项目/陆旗/css练习.htmi/盒子模型.html
2024-09-27 02:06:13 +08:00

117 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration: none;
border: none;
outline: none;
}
.comment {}
.comment_title {
height: 51px;
font-size: 16px;
display: flex;
color: #333333;
align-items: center;
padding: 0 12px;
}
.comment ul {
padding: 14px 12px;
}
.comment ul li {
display: flex;
margin-bottom: 35px;
}
.comment ul li avter {
width: 35px;
height: 36px;
margin-right: 10px;
border-radius: 100%;
}
.comment_content {}
.comment_content .comment_top {
display: flex;
justify-content: space-between;
align-items: center;
}
.comment_top .zan {
display: flex;
}
.comment_content .comment_top .comment_name {
font-size: 14px;
color: #333333;
margin-bottom: 5px;
}
.comment_top .comment_name.zan_img {
width: 13px;
height: 14px;
margin-right: 5px;
}
.comment_top .comment_name span {
font-size: 12px;
color: #999999;
}
.comment_bottom {
font-size: 10px;
color: #999999;
margin-bottom: 19px;
}
.comment_des {
font-size: 14px;
color: #333333;
}
</style>
<body>
<div class="comment">
<div class="comment_title">全部评论</div>
<ul>
<li>
<img class="avter"
src="https://upload.jianshu.io/users/upload_avatars/301940/189d69dd-af7c-4290-9e2c-89e98acf3603.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/96/h/96/format/webp"
alt="">
<div class="comment_content">
<div class="comment_top">
<div class="comment_name">呆小瓜</div>
<div class="zan">
<img class="zan_img"
src="C:\Users\admin\Desktop\front-end-team\项目练习\学生项目\陆旗\css练习.htmi\zan.png" alt="">
<span>15</span>
</div>
</div>
<div class="coment_bottom">刚刚</div>
</div>
</li>
</ul>
</div>
</body>
</html>