cypherine

Target #90

Nov 27th, 2021 (edited)
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.25 KB | None | 0 0
  1. ## Eclipse
  2.  
  3. <div class="inner"></div><div class="bottom-circle"></div><div class="top-circle"></div>
  4. <style>
  5.  
  6.   body {
  7.     background: #F3AC3C;
  8.     display: flex;
  9.     justify-content: center;
  10.     margin: auto;
  11.   }
  12.   div {
  13.     width: 200%;
  14.     height: 200%;
  15.  
  16.  
  17.   }
  18.   .inner {
  19.     margin: 25px  0 0;
  20.     width: 200px;
  21.     height: 200px;
  22.     background: #1A4341;
  23.     border-radius: 50% ;
  24.     border: 25px solid #F3AC3C;
  25.     z-index: 1;
  26.  
  27.    
  28.   }
  29.  
  30.   .bottom-circle {
  31.     margin-top: 150px;
  32.     width: 400px;
  33.     height: 400px;
  34.     border-radius: 50%;
  35.     background: #998235;
  36.     position: absolute;
  37.     z-index: 1;
  38.    
  39.   }
  40.    
  41.   .top-circle {
  42.     margin-top: -250px;
  43.     width: 400px;
  44.     height: 400px;
  45.     border-radius: 50%;
  46.     background: #998235;
  47.     position: absolute;
  48.    
  49.   }
  50. </style>
  51.  
  52. <!-- OBJECTIVE -->
  53. <!-- Write HTML/CSS in this editor and replicate the given target image in the least code possible. What you write here, renders as it is -->
  54.  
  55. <!-- SCORING -->
  56. <!-- The score is calculated based on the number of characters you use (this comment included :P) and how close you replicate the image. Read the FAQS (https://cssbattle.dev/faqs) for more info. -->
  57.  
  58. <!-- IMPORTANT: remove the comments before submitting -->
Add Comment
Please, Sign In to add comment