css3 混合,使用CSS3中图像混合模式的演示

CSS

语言:

CSSSCSS

确定

html,

body {

height: 100%;

padding: 0;

margin: 0;

font-family: "Nocturno Display Medium 4", Georgia;

font-style: normal;

font-weight: normal;

font-stretch: normal;

}

body {

background: url(http://unsplash.it/1499/1000);

background-size: 100%;

background-size: cover;

background-repeat: no-repeat;

}

.blend {

mix-blend-mode: exclusion;

color: white;

display: block;

height: 100%;

width: 100%;

display: -webkit-box;

display: -webkit-flex;

display: -ms-flexbox;

display: flex;

-webkit-box-orient: vertical;

-webkit-box-direction: normal;

-webkit-flex-direction: column;

-ms-flex-direction: column;

flex-direction: column;

-webkit-box-pack: center;

-webkit-justify-content: center;

-ms-flex-pack: center;

justify-content: center;

-webkit-box-align: center;

-webkit-align-items: center;

-ms-flex-align: center;

align-items: center;

text-align: center;

font-size: 6vw;

}

.red {

color: red;

}

.blue {

color: blue;

}

.green {

color: green;

}

blockquote {

margin-bottom: 100px;

line-height: 1.1;

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值