gsap实现三维字体效果代码

代码语言:html

所属分类:布局界面

代码描述:gsap实现三维字体效果代码

代码标签: 字体 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="UTF-8">




    <style>
        body {
            font-family: 'Source Sans Pro', Arial, sans-serif;
            background: #becccc;
            text-transform: uppercase;
            color: #fff;
            text-align: center;
            letter-spacing: -3px;
            padding: 50px;
        }


        h2 {
            font-size: 100px;
            position: relative;
        }

        /*
text-shadow originated from: https://codepen.io/zitrusfrisch
*/
        .superShadow {
            text-shadow: 0 1px 0 hsl(174,5%,80%),
            0 2px 0 hsl(174,5%,75%),
            0 3px 0 hsl(174,5%,70%),
            0 4px 0 hsl(174,5%,66%),
            0 5px 0 hsl(174,5%,64%),
            0 6px 0 hsl(174,5%,62%),
            0 7px 0 hsl(174,5%,61%),
            0 8px 0 hsl(174,5%,60%),

            0 0 5px rgba(0,0,0.........完整代码请登录后点击上方下载按钮下载查看

网友评论0