css实现挥手眨眼睛雪人效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现挥手眨眼睛雪人效果代码

代码标签: css 挥手 眨眼睛 雪人

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">





    <style>
        * {
          margin: 0;
          padding: 0;
        }
        
        body {
          height: 100vh;
          width: 100vw;
          background: #b3d3c3;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
        }
        
        .snowman {
          position: relative;
          background: linear-gradient(
            166deg,
            rgba(255, 255, 255, 1) 78%,
            rgba(248, 244, 238, 1) 88%
          );
          height: 23vmin;
          width: 25vmin;
          border-radius: 48% 52% 51% 49% / 53% 53% 47% 47%;
          top: 9vmin;
        }
        
        .snowman::after {
          position: absolute;
          content: "";
          background: linear-gradient(
            166deg,
            rgba(255, 255, 255, 1) 78%,
            rgba(248, 244, 238, 1) 88%
          );
          height: 20vmin;
          width: 25vmin;
 .........完整代码请登录后点击上方下载按钮下载查看

网友评论0