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

Profile card added #1170

Merged
merged 1 commit into from
Oct 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@
<a class="box-item" href="https://github.com/savarbhasin"><span>Savar Bhasin</span></a>
<a class="box-item" href="https://github.com/aakashjha017"><span>Aakash Jha</span></a>
<a class="box-item" href="https://github.com/kapil706"><span>Kapil Chaudhary</span></a>
<a class="box-item" href="https://github.com/glbdhananjaya"><span>Bhashitha Dhananjaya</span></a>



Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<html>
<head>
<title></title>
<script src="https://kit.fontawesome.com/e003d245d1.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="card middle">
<div class="front">
<img src="img1.JPG" alt="">
</div>
<div class="back">
<div class="details middle">
<h2>Robert Ken</h2>
<span>Graphic Designer</span>
<div class="contact">
<a href="#"><i class="fab fa-linkedin-in"></i></a>
<a href="#"><i class="fab fa-github"></i></a>
<a href="#"><i class="fab fa-facebook-f"></i></a>
</div>
</div>
</div>
</div>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
*{
margin: 0;
padding: 0;
text-decoration: none;
font-family: "montserrat";
}
body{
background: #a4b0be;
}
.middle{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.card{
cursor: pointer;
width: 340px;
height: 480px;
}
.front,.back{
width: 100%;
height: 100%;
overflow: hidden;
backface-visibility: hidden;
position: absolute;
transition: transform .6s linear;
}
.front img{
height: 100%;
}
.front{
transform: perspective(600px) rotateY(0deg);
}
.back{
background: white;
transform: perspective(600px) rotateY(180deg);
}
.details{
color: #2f3542;
text-align: center;
width: 100%;
}
.contact{
margin: 20px 0;
}
.contact a{
display: inline-flex;
width: 40px;
height: 40px;
justify-content: center;
align-items: center;
color: #2f3542;
font-size: 18px;
transition: 0.4s;
border-radius: 50%;
}
.contact a:hover{
background: #2f3542;
color: white;
}
.card:hover > .front{
transform: perspective(600px) rotateY(-180deg);

}
.card:hover > .back{
transform: perspective(600px) rotateY(0deg);

}