Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Madara</title>
- </head>
- <style>
- :root
- {
- --sharingan:400px;
- --shadow:calc(var(--sharingan)/4);
- }
- #sharingan
- {
- position:absolute;
- width:var(--sharingan);
- height:var(--sharingan);
- margin-left:3%;
- margin-top:3%;
- border-radius:50%;
- border:10px solid black;
- background:red;
- box-shadow:inset 0 0 var(--shadow) black;
- }
- #c
- {
- position:absolute;
- width:var(--sharingan);
- height:var(--sharingan);
- margin-left:-0.5%;
- margin-top:-0.5%;
- border-radius:50%;
- border:1px solid black;
- }
- #c1
- {
- position:absolute;
- width:var(--sharingan);
- height:var(--sharingan);
- border-radius:50%;
- border:1px solid black;
- }
- #circle
- {
- position:absolute;
- border:0px solid black;
- width:20%;
- height:20%;
- margin-left:40%;
- margin-top:40%;
- border-radius:50%;
- background:black;
- box-shadow: 0 0 var(--shadow) 30px black;
- }
- #ce
- {
- position:absolute;
- border:2px solid black;
- width:25%;
- height:25%;
- background:black;
- border-radius:50%;
- margin-top:5%;
- margin-left:38%;
- }
- #re
- {
- position:absolute;
- border:2px solid red;
- width:47%;
- height:47%;
- background:red;
- border-radius:50%;
- margin-top:24%;
- margin-left:25%;
- }
- #curve
- {
- position:absolute;
- border-top:20px solid black;
- border-left:40px solid transparent;
- border-right:5px solid transparent;
- border-radius:60%;
- height:60%;
- width:75%;
- left:10%;
- top:15%;
- transform:rotate(60deg);
- }
- #half
- {
- position:absolute;
- border-top:40px solid black;
- border-radius:100%;
- border-left:40px solid transparent;
- border-right:0px solid transparent;
- width:30%;
- height:30%;
- left:40%;
- top:18%;
- transform:rotate(8deg);
- }
- #c:nth-child(){}
- #c:nth-child(2){transform:rotate(-120deg)}
- #c:nth-child(3){transform:rotate(120deg)}
- @keyframes ro
- {
- from{transform:rotate(0deg);}
- to{transform:rotate(360deg);}
- }
- </style>
- <body bgcolor="#595959">
- <div id="sharingan">
- <div id="c1" style="animation:ro 2s ease-in-out infinite">
- <div id="c">
- <div id="half"></div>
- <div id="curve"></div>
- <div id="ce">
- <div id="re"></div>
- </div>
- </div>
- <div id="c">
- <div id="half"></div>
- <div id="curve"></div>
- <div id="ce">
- <div id="re"></div>
- </div>
- </div>
- <div id="c">
- <div id="half"></div>
- <div id="curve"></div>
- <div id="ce">
- <div id="re"></div>
- </div>
- </div>
- <div id="circle"></div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement