Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding rinnegan eye using html and css #2527

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
39 changes: 39 additions & 0 deletions Art/mohmmadAyesh/Rinnegan.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./style.css"/>
<title>Rinnegan</title>
</head>
<body>
<div class="container">
<div class="eye eye1">
<div class="l1"></div>
<div class="l2"></div>
<div class="l3"></div>
<div class="l4"></div>
<div class="l5"></div>
<div class="l6"></div>
<div class="l7"></div>
<div class="l8"></div>
<span class="iris2"></span>
<span class="iris"></span>
</div>
<div class="eye eye2">
<div class="l1"></div>
<div class="l2"></div>
<div class="l3"></div>
<div class="l4"></div>
<div class="l5"></div>
<div class="l6"></div>
<div class="l7"></div>
<div class="l8"></div>
<span class="iris2"></span>
<span class="iris"></span>


</div>
</div>
</body>
</html>
Binary file added Art/mohmmadAyesh/rinnegan.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
103 changes: 103 additions & 0 deletions Art/mohmmadAyesh/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
body{
margin:0;
padding:0;
display: flex;
align-items: center;
justify-content: center;
}
.container{
width:500px;
height:500px;
position:relative;
display:flex;
align-items: center;
justify-content:space-between;

}
.eye{
width:300px;
height:300px;
background-color:blue;
border-radius: 98% 6% 75% 1%;
position:absolute;
top:50%;
transform: translate(-50%,-50%) rotate(45deg);
border:1px solid #212121;
background-color: rgb(197,184,298);
overflow: hidden;
}
.eye1{
left:0%;
}
.eye2{
right:-50%;
border-radius:98% 1% 75% 6%;
}
.eye div{
border:1px solid black;
position:absolute;
top: 50%;
left: 50%;
transform:translate(-50%,-50%);
border-radius: 50%;
animation-name:animate;
animation-duration:5.25s;
animation-timing-function:linear;
animation-iteration-count: infinite;
}
span{
display: inline-block;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.iris{
width:8.5%;
height:8.5%;
background-color: #212121;
}
.iris2{
width: 24%;
height: 24%;
background-color: rgb(175,158,195);
border:1px solid black;
}
.l1{
animation-delay:0s;
}
.l2{
animation-delay: 0.75s;
}
.l3{
animation-delay:1.5s;
}
.l4{
animation-delay: 2.25s;
}
.l5{
animation-delay:3s;
}
.l6{
animation-delay: 3.75s;
}
.l7{
animation-delay:4.5s;
}
.l8{
animation-delay: 5.25s;
}

@keyframes animate {
0%{
width:5%;
height:5%;
}
100%{
width:100%;
height:100%;
}
}


7 changes: 7 additions & 0 deletions include.js
Original file line number Diff line number Diff line change
Expand Up @@ -2903,6 +2903,13 @@ let cards = [
author: 'Kalliran',
githubLink: 'https://github.com/Kalliran'
},
{
artName: 'Rinnegan Eyes',
pageLink: './Art/mohmmadAyesh/Rinnegan.html',
imageLink: './Art/mohmmadAyesh/rinnegan.gif',
author: 'Mohmmad Ayesh',
githubLink: 'https://github.com/mohmmadAyesh'
},
];

/* -------------------------------------------------------------------------- */
Expand Down