无穷无尽特效
代码语言:html
所属分类:三维
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="https://static.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico" />
<link rel="mask-icon" type="" href="https://static.codepen.io/assets/favicon/logo-pin-8f3771b1072e3c38bd662872f6b673a722f4b3ca2421637d5596661b4e2132cc.svg" color="#111" />
<title>CodePen - Infinity</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<style>
html, body {
margin: 0;
padding: 0;
font-family: 'Ropa Sans', sans-serif;
background-color: #9f8cfc;
color: #1b4594;
box-sizing: border-box;
overflow: hidden;
cursor: -webkit-grab;
cursor: -moz-grab;
}
canvas {
width: 100%;
height: 100%;
}
h1 {
font-size: 16pt;
padding: 0;
margin: 0;
color: inherit;
}
a {
color: inherit;
text-decoration: none;
padding: 10px;
transition: background-color .3s, color .3s;
}
a:hover {
color: #fff;
background-color: #1b4594;
}
.dg.ac {
z-index: 3 !important;
}
.credits {
margin: 20px;
position: absolute;
z-index: 1;
bottom: 10px;
width: 100%;
}
.credits h1 {
width: 60%;
line-height: 1.4;
}
@media screen and (min-width: 768px) {
.credits {
margin-left: 20px;
margin-top: 20px;
position: absolute;
z-index: 1;
bottom: inherit;
width: 100%;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0