Tạo vòm giống styleathome (ok)

C:\xampp\htdocs\html\index.html

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

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="style.css">
</head>

<body>
  <div class="elementor-column-wrap elementor-element-populated">
    
  </div>
</body>

</html>

C:\xampp\htdocs\html\style.scss

.elementor-element-populated:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 110px;
  width: 1225px;
  height: 1225px;
  border-radius: 100%;
  -webkit-box-shadow: 360px 360px red;
  box-shadow: 0px 240px red;
  transform: translateX(-50%) rotate(180deg);
}

.elementor-element-populated {
  height: 400px;
  width: 400px;
  position: relative;
  background-image: url(https://styleathome.kuddebeestcoaching.be/wp-content/uploads/2021/11/Style-at-Home.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto;
}

Last updated

Was this helpful?