Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Eclipse
- <div class="inner"></div><div class="bottom-circle"></div><div class="top-circle"></div>
- <style>
- body {
- background: #F3AC3C;
- display: flex;
- justify-content: center;
- margin: auto;
- }
- div {
- width: 200%;
- height: 200%;
- }
- .inner {
- margin: 25px 0 0;
- width: 200px;
- height: 200px;
- background: #1A4341;
- border-radius: 50% ;
- border: 25px solid #F3AC3C;
- z-index: 1;
- }
- .bottom-circle {
- margin-top: 150px;
- width: 400px;
- height: 400px;
- border-radius: 50%;
- background: #998235;
- position: absolute;
- z-index: 1;
- }
- .top-circle {
- margin-top: -250px;
- width: 400px;
- height: 400px;
- border-radius: 50%;
- background: #998235;
- position: absolute;
- }
- </style>
- <!-- OBJECTIVE -->
- <!-- 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 -->
- <!-- SCORING -->
- <!-- 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. -->
- <!-- IMPORTANT: remove the comments before submitting -->
Add Comment
Please, Sign In to add comment