zdog打造的三维示例效果
代码语言:html
所属分类:三维
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title> The Triforce with Zdog (Zdog Test)</title> <style> body { background: #211B3D; font-family: 'Goblin One', cursive; color: #54A1B2; } .zdog-canvas { width: 400px; height: 200px; cursor: move; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -75%); transform: translate(-50%, -75%); } .texts { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -75%); transform: translate(-50%, -75%); margin-top: 140px; text-align: center; } .texts h1 { margin: 0; padding: 0; font-size: 32px; letter-spacing: 0.1em; } .texts p { margin: 10px 0 0; padding: 0; font-size: 12px; } </style> </head> <body translate="no"> <canvas class="zdog-canvas"></canvas> <div class="texts"> <h1>TRIFORCE</h1> <p>The Legend of Zelda</p> </div> <script src=.........完整代码请登录后点击上方下载按钮下载查看
网友评论0