单个div+css实现一束花朵效果代码

代码语言:html

所属分类:布局界面

代码描述:单个div+css实现一束花朵效果代码

代码标签: 单个 div css 花朵

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">




    <style>
        body {
          min-height: 400px;
          height: 100vh;
          position: relative;
          background-color: #ffdab9;
          text-align: center;
        }
        div {
          position: absolute;
          left: 50%;
          top: 50%;
        }
        div:before,
        div:after {
          display: block;
          content: '';
          position: absolute;
        }
        @media (max-width: 400px) {
          div:not(.no-scale) {
            transform: scale(0.8);
          }
        }
        #dry {
          box-sizing: border-box;
          width: 300px;
          height: 320px;
          margin-left: -150px;
          margin-top: -160px;
          background: repeating-linear-gradient(to bottom, white, white 10%, #d2691e 10%, #d2691e 20%) 48.5% 71%/1em 1em, li.........完整代码请登录后点击上方下载按钮下载查看

网友评论0