三维尖刺旋转效果
代码语言:html
所属分类:三维
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { width: 100vw; height: 100vh; margin: 0; padding: 0; overflow: hidden; font-family: 'Ovo', Arial; font-size: 16px; } #container_3d { width: 100%; height: 100%; background: rgb(255,255,255); background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(162,145,134,1) 100%); } .credits { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, -50%); margin: 7.5px auto; } a { color: rgba(0, 0, 0, 0.0); backface-visibility: hidden; -moz-backface-visibility: hidden; -webkit-backface-visibility: hidden; text-decoration: underline; text-underline-offset: 3px; display: inline-block; } a:link { color: rgba(0, 0, 0, 0.0); } .fade-in { animation: fadeIn 2s ease-out 4s forwards; -moz-animation: fadeIn 2s ease-out 4s forwards; -webkit-animation: fadeIn 2s ease-out 4s forwards; } @keyframes fadeIn { 0% { color: rgba(0, 0, 0, 0.1); } 100% { color: rgba(0, 0, 0, 0.85); } } @-moz-keyframes fadeIn { 0% { color: rgba(0, 0, 0, 0.1); } 100% { color: rgba(0, 0, 0, 0.85); } } @-webkit-keyframes fadeIn { 0% { color: rgba(0, 0, 0, 0.1); } 100% { color: rgba(0, 0, 0, 0.85); } } </style> </head> <body translate="no"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <canvas id="container_3d"> </canvas> <script type="text/javascript" src="http://repo.bfw.wiki/bfwrepo/js/three.js&q.........完整代码请登录后点击上方下载按钮下载查看
网友评论0