div+css实现文字卷成圆柱立体滚动旋转动画效果代码

代码语言:html

所属分类:动画

代码描述:div+css实现文字卷成圆柱立体滚动旋转动画效果代码

代码标签: div css 文字 卷成 圆柱 立体 滚动 旋转 动画

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

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

<head>
  <meta charset="UTF-8">
  

  
  
<style>
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #222;
    overflow: hidden;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .box{
    transform-style: preserve-3d;
    animation: animate 25s linear infinite;
}

/* Animation
you can change the rotate to make it stab.........完整代码请登录后点击上方下载按钮下载查看

网友评论0