html css 书签,CSS3 包裹式书签栏

CSS

语言:

CSSSCSS

确定

h1 {

font-size: 5vw;

text-shadow: 1px 1px 0 #f8fdff, 2px 2px 0 rgba(29, 37, 40, 0.1);

color: #fa4248;

font-weight: 900;

line-height: 95%;

}

@media screen and (max-width: 640px) {

h1 {

font-size: 32px;

}

}

@media screen and (min-width: 1480px) {

h1 {

font-size: 74px;

}

}

h2 {

font-size: 3.5vw;

background-color: rgba(29, 37, 40, 0.02);

color: #fa4248;

font-weight: 100;

}

@media screen and (max-width: 514.28571px) {

h2 {

font-size: 18px;

}

}

@media screen and (min-width: 914.28571px) {

h2 {

font-size: 32px;

}

}

h3 {

font-size: 3.5vw;

position: relative;

margin: 0 -15px;

font-weight: 100;

background-color: #fa4248;

color: #f8fdff;

text-align: center;

}

@media screen and (max-width: 514.28571px) {

h3 {

font-size: 18px;

}

}

@media screen and (min-width: 685.71429px) {

h3 {

font-size: 24px;

}

}

h3:before,

h3:after {

content: "";

position: absolute;

}

h3:before {

border-right: 15px solid #c83439;

border-top: 10px solid transparent;

left: 0;

top: -10px;

}

h3:after {

border-left: 15px solid #c83439;

border-bottom: 10px solid transparent;

right: 0;

bottom: -10px;

}

p {

font-size: 2vw;

color: #1d2528;

font-weight: 400;

text-align: left;

}

@media screen and (max-width: 750px) {

p {

font-size: 15px;

}

}

@media screen and (min-width: 1050px) {

p {

font-size: 21px;

}

}

h1,

h2 {

text-align: center;

}

h1,

h2,

h3,

p {

letter-spacing: 0.03em;

font-family: "Roboto";

padding: 3vw;

}

@media screen and (max-width: 500px) {

h1,

h2,

h3,

p {

padding: 15px;

}

}

@media screen and (min-width: 1000px) {

h1,

h2,

h3,

p {

padding: 30px;

}

}

h2,

h3,

p {

line-height: 145%;

}

h2,

h3 {

text-transform: uppercase;

}

html {

padding: 3vw;

box-sizing: border-box;

text-align: center;

background-color: #1d2528;

overflow-x: hidden;

position: absolute;

height: 100%;

width: 100%;

left: 0;

top: 0;

}

@media screen and (max-width: 333.33333px) {

html {

padding: 10px;

}

}

@media screen and (min-width: 1333.33333px) {

html {

padding: 40px;

}

}

body {

margin-bottom: 3vw;

box-shadow: 10px 10px 0 0 #13181a;

background-color: #f8fdff;

position: relative;

display: inline-block;

box-sizing: border-box;

min-height: 100vh;

max-width: 900px;

width: 100%;

height: auto;

}

@media screen and (max-width: 333.33333px) {

body {

margin-bottom: 10px;

}

}

@media screen and (min-width: 1333.33333px) {

body {

margin-bottom: 40px;

}

}

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值