清除浏览器自带 CSS 样式

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  font-family: Helvetica Neue, Tahoma, Arial, PingFangSC-Regular, Hiragino Sans GB, Microsoft Yahei, sans-serif;
}
a {
  color: #333;
  text-decoration: none;
}
img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
}
ul {
  list-style: none;
}
.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.suspension {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 0.53333vw 2.66667vw rgba(0, 0, 0, 0.2);
}
.suspension .m-navbar {
  padding: 0 3.2vw 0 4.8vw;
  height: 11.73333333vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.suspension .m-navbar .logo i {
  font-size: 7.46666667vw;
  color: #fb7299;
}
.suspension .m-navbar .right {
  display: flex;
}
.suspension .m-navbar .right .search {
  color: #ccc;
}
.suspension .m-navbar .right .search i {
  font-size: 5.86666667vw;
}
.suspension .m-navbar .right .face {
  overflow: hidden;
  width: 6.4vw;
  height: 6.4vw;
  border-radius: 50%;
  margin: 0 5.33333333vw;
}
.suspension .m-navbar .right .app-btn {
  width: 19.2vw;
  height: 6.4vw;
}
.suspension .channel-menu {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10.66666667vw;
  border-bottom: 1px solid #e7e7e7;
}
.suspension .channel-menu .tabs {
  overflow: hidden;
  flex: 1;
}
.suspension .channel-menu .tabs .tabs-list {
  display: flex;
}
.suspension .channel-menu .tabs .tabs-list a {
  padding: 0 4.26666667vw;
  white-space: nowrap;
  font-size: 3.73333333vw;
  height: 10.66666667vw;
  line-height: 10.66666667vw;
}
.suspension .channel-menu .tabs .tabs-list .line {
  position: absolute;
  left: 4.26666667vw;
  bottom: 0;
  width: 7.46666667vw;
  height: 0.53333333vw;
  background-color: #fb7299;
  transition: all 0.3s;
}
.suspension .channel-menu .after {
  width: 10.66666667vw;
  height: 10.4vw;
  text-align: center;
  line-height: 10.4vw;
  background-color: #fff;
  color: #ccc;
}
.suspension .channel-menu .after i {
  font-size: 5.33333333vw;
}
.m-home {
  padding: 22.66666667vw 1.33333333vw 0;
}
.m-home .video-list {
  display: flex;
  flex-wrap: wrap;
}
.m-home .video-list .video-item {
  width: 50%;
  padding: 2.13333333vw 1.33333333vw;
}
.m-home .video-list .video-item .card {
  position: relative;
  height: 25.86666667vw;
}
.m-home .video-list .video-item .card .count {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7.2vw;
  padding: 0 1.33333333vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 3.2vw;
  color: #fff;
  background-image: linear-gradient(transparent, red);
}
.m-home .video-list .video-item .title {
  margin-top: 1.33333333vw;
  font-size: 3.2vw;
}
.app {
  position: fixed;
  left: 0;
  bottom: 8vw;
  width: 100%;
  height: 10.13333333vw;
}
.app .btn-app {
  margin: 0 5.33333333vw;
  height: 10.13333333vw;
  background-color: purple;
  border-radius: 5.06666667vw;
  text-align: center;
  line-height: 10.13333333vw;
  background-color: #fb7299;
  color: #fff;
  box-shadow: 0 0.53333vw 2.66667vw rgba(0, 0, 0, 0.2);
}

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值