bootstrap+TweenMax实现炫酷海水淹没文字特效个人自适应主页代码
代码语言:html
所属分类:响应式
代码描述:bootstrap+TweenMax实现炫酷海水淹没文字特效个人自适应主页代码
代码标签: bootstrap TweenMax 炫酷 海水 淹没 文字 个人 自适应 主页
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.5.3.0.css">
<style>
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap");
* {
box-sizing: border-box;
cursor: none;
}
html,
body {
background: #efefef;
color: #212121;
font-family: "Montserrat", sans-serif;
font-size: 16px;
height: 100%;
}
::selection {
background: #efefef;
color: #212121;
mix-blend-mode: difference;
}
::-moz-selection {
background: #efefef;
color: #212121;
}
h1, h2, h3, h4, h5 {
font-weight: 900;
}
h1 {
font-size: 3em;
}
.hero-title {
font-size: 8vw;
line-height: 1em;
font-weight: 900;
}
.nav-title {
font-size: 4em;
}
a {
transition: all 0.25s ease-in-out;
}
.white, a.white {
color: #efefef;
}
.black {
color: #212121;
}
.pearl, a.pearl {
color: #fff;
}
.green, a.green {
color: #00BCD4;
}
.pink {
color: #b73b3b;
}
.blend {
mix-blend-mode: difference !important;
color: #efefef;
position: relative;
z-index: 2;
}
.bg-black {
background-color: #212121;
}
.bg-green {
background-color: #00BCD4;
}
.bg-topographic {
background-image: url(//repo.bfw.wiki/bfwrepo/svg/bg-topographic.svg);
background-size: 5000px;
opacity: 0.1;
pointer-events: none;
}
.custom-cursor {
position: fixed;
opacity: 0;
pointer-events: none;
mix-blend-mode: difference;
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #00BCD4;
transition: transform 350ms ease;
transform: translate(-50%, -50%) scale(0.3);
z-index: 1000;
}
.custom-cursor--link {
transform: translate(-50%, -50%) scale(1.25);
}
.swoosh {
background-image: url("//repo.bfw.wiki/bfwrepo/svg/2023-logo-swoosh.svg");
background-size: 100%;
background-repe.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0