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

209 lines
4.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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">
<link rel="stylesheet" href="./clear.css">
<title>Document</title>
<script src="./rem.js"></script>
</head>
<style>
body {
font-size: 0;
}
.header {
height: 1rem;
background-color: rgb(0 0 0 / 70%);
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 0.24rem;
padding-right: 0.4rem;
position: fixed;
width: 100%;
top: 0;
left: 0;
box-sizing: border-box;
z-index: 999;
}
.header img {
height: 0.65rem;
}
.open {
width: 1.44rem;
height: 0.52rem;
background-color: #d0302c;
border-radius: 0.08rem;
font-size: 0.24rem;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
}
.conter {
margin-top: 1rem;
}
.conter .video {
height: 4.22rem;
padding-bottom: 0.59rem;
position: relative;
}
.conter .video::after {
content: "";
width: 100%;
height: 1px;
background: #960b0b;
display: inline-block;
transform: scaleY(0.5);
position: absolute;
bottom: 0;
left: 0;
}
.conter .conter_title {
font-size: 0.36rem;
color: #333333;
margin-bottom: 0.3rem;
margin-top: 0.59rem;
padding-left: 0.32rem;
padding-right: 0.52rem;
}
.conter .time {
font-size: 0.23rem;
color: #999999;
padding-left: 0.32rem;
}
.conter .zan {
display: flex;
align-items: center;
justify-content: space-between;
}
.zan .zan_left {
display: flex;
align-items: center;
}
.zan_lef .zan_left_s {
display: flex;
align-items: center;
justify-content: center;
}
.zan_left_s .inp {
width: 0.28rem;
height: 0.28rem;
padding-left: 0.25rem;
padding-right: 0.1rem;
}
.zan_left_s span {
font-size: 0.24rem;
color: #999999;
padding-right: 0.59rem;
}
.zan_left .zan_left_z {
display: flex;
align-items: center;
justify-content: center;
}
.zan_left_z .good {
width: 0.26rem;
height: 0.27rem;
padding-right: 0.1rem;
}
.zan_left_z span {
font-size: 0.24rem;
color: #999999;
}
.zan_right {
display: flex;
align-items: center;
justify-content: center;
}
.zan_right span {
font-size: 0.24rem;
color: #999999;
}
.zan_right .down {
width: 0.17rem;
height: 0.1rem;
padding-right: 0.24rem;
padding-left: 0.28rem;
}
.recommend {}
.recommend .recommend_title {
font-size: 0.28rem;
color: #d0302c;
}
</style>
<body>
<div class="header">
<img src="./img/zbh_h5_img_logo.png" alt="">
<div class="open">打开</div>
</div>
<div class="conter">
<img class="video" src="./img/video.png" alt="">
<div class="conter_title">香港24小时 | 8月25日发生了什么?暴力局面再次升级</div>
<div class="time">2019-04-30 10:45</div>
<div class="zan">
<div class="zan_left">
<div class="zan_left_s">
<img class="inp" src="./img/input_icon_collect_small.png" alt="">
<span>收藏</span>
</div>
<div class="zan_left_z">
<img class="good" src="./img/good.png" alt="">
<span>12</span>
</div>
</div>
<div class="zan_right">
<span>简介</span>
<img class="down" src="./img/down.png" alt="">
</div>
</div>
<div class="recommed">
<div class="title">相关推荐</div>
<div class="item">
<div class="item_top">
<div class="photo">
<img src="./img/video.png" alt="">
<span>03:07</span>
</div>
</div>
<div class="bottom">一生中总要有个夏天给海岛,我的9天8夜</div>
</div>
</div>
</div>
</body>
</html>