hendroazgards

Untitled

Mar 5th, 2021
5,690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.90 KB | None | 0 0
  1. <div class=left>
  2.   <div class=left-circle></div>
  3. </div>
  4. <div class=right>
  5. <div class=right-circle></div>
  6. </div>
  7.  
  8. <style>
  9.   body {
  10.     display:flex;
  11.     justify-content:center;
  12.     align-items:center;
  13.     background: #62306D;
  14.   }
  15.  
  16.   .left{
  17.     width:100px;
  18.     height:150px;
  19.     border-radius:50px 50px 50px 50px;
  20.     background:#AA445F;
  21.     position:relative;
  22.     left:5;
  23.     top:-25;
  24.   }
  25.  
  26.   .left-circle{
  27.     width:100px;
  28.     height:100px;
  29.     border-radius:50%;
  30.     background:#F7EC7D;
  31.     bottom:0;
  32.     position:absolute;
  33.   }
  34.   .right{
  35.     width:100px;
  36.     height:150px;
  37.     border-radius:50px 50px 50px 50px;
  38.     background:#E38F66;
  39.     position:relative;
  40.     right:5;
  41.     bottom:-25;
  42.     margin-left:50px;
  43.   }
  44.  
  45.   .right-circle{
  46.     width:100px;
  47.     height:100px;
  48.     border-radius:50%;
  49.     background:#F7EC7D;
  50.     top:0;
  51.     position:absolute;
  52.   }
  53. </style>
  54.  
Advertisement
Add Comment
Please, Sign In to add comment