html页面字迹模糊,HTML5 CSS3字符模糊和聚焦效果

CSS

语言:

CSSSCSS

确定

@import url('https://fonts.googleapis.com/css?family=Overpass');

.left-side {

position: absolute;

height: 100vh;

width: 100vw;

background: #000;

overflow: hidden;

z-index: 3;

}

.right-side {

position: absolute;

height: 100vh;

width: 100vw;

background: #000;

z-index: 3;

overflow: hidden;

}

.hover {

position: absolute;

float: left;

height: 70px;

width: 70px;

cursor: none;

overflow: hidden;

}

.bit-top {

position: absolute;

left: 0%;

top: 0%;

height: 5px;

width: 10px;

background: #fff;

}

.bit-top-left {

position: absolute;

left: 0%;

top: 5px;

height: 5px;

width: 5px;

background: #fff;

}

.bit-top-right {

position: absolute;

right: 0%;

top: 0%;

height: 5px;

width: 10px;

background: #fff;

}

.bit-top-right-2 {

position: absolute;

right: 0%;

top: 0px;

height: 10px;

width: 5px;

background: #fff;

}

.bit-bottom-left {

position: absolute;

bottom: 0%;

left: 0px;

height: 10px;

width: 5px;

background: #fff;

}

.bit-bottom-left-2 {

position: absolute;

bottom: 0%;

left: 0px;

height: 5px;

width: 10px;

background: #fff;

}

.bit-bottom-right {

position: absolute;

bottom: 0%;

right: 0px;

height: 5px;

width: 10px;

background: #fff;

}

.bit-bottom-right-2 {

position: absolute;

bottom: 0%;

right: 0px;

height: 10px;

width: 5px;

background: #fff;

}

.blur {

position: absolute;

color: #fefefe;

font-family: 'Overpass', sans-serif;

font-size: 64px;

letter-spacing: 20px;

margin: auto;

width: 100%;

filter: blur(5px);

cursor: none;

overflow: hidden;

text-align: center;

z-index: 3;

}

.focus {

position: absolute;

color: #fefefe;

font-family: 'Overpass', sans-serif;

font-size: 64px;

letter-spacing: 20px;

margin: auto;

width: 100%;

filter: blur(0px);

cursor: none;

overflow: hidden;

text-align: center;

z-index: 2;

}

.container {

position: absolute;

height: 80vh;

padding-top: 20vh;

width: 100%;

overflow: hidden;

}

body {

background: #000;

margin: 0;

padding: 0;

cursor: none;

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值