Skip to content

Commit

Permalink
Added GameHub Project
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitKambli committed Jan 13, 2024
1 parent 3947ec9 commit a12c786
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 1 deletion.
Binary file modified Images/GameHub_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/sm_5afe33042d93d.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h3>Escape Room</h3>
<div class="card">
<div class="face face1">
<div class="content">
<img src="https://github.com/MohitKambli/MohitKambli.github.io/blob/master/Images/GameHub_128.png?raw=true">
<img src="https://github.com/MohitKambli/MohitKambli.github.io/blob/master/Images/GameHub_128.jpg?raw=true">
<h3>Game Hub</h3>
</div>
</div>
Expand Down
99 changes: 99 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,106 @@ body {

.stack__card:nth-child(4) {
background-color: #333;
justify-content: space-around;
}

.stack__card:nth-child(4) .card{
position: relative;
cursor: pointer;
}

.stack__card:nth-child(4) .card .face{
width: 400px;
height: 350px;
transition: 0.5s;
}

.stack__card:nth-child(4) .card .face.face1{
position: relative;
background: #333;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
transform: translateY(50px);
}

.stack__card:nth-child(4) .card:hover .face.face1{
background: #2547b8;
transform: translateY(0);
}

.stack__card:nth-child(4) .card .face.face1 .content{
opacity: 0.2;
transition: 0.5s;
}

.stack__card:nth-child(4) .card:hover .face.face1 .content{
opacity: 1;
}

.stack__card:nth-child(4) .card .face.face1 .content img{
width: 200px;
}

.stack__card:nth-child(4) .card .face.face1 .content h3{
margin: 10px 0 0;
padding: 0;
color: #fff;
text-align: center;
font-size: 2em;
font-family: 'Poppins', sans-serif;
font-weight: bold;
}

.stack__card:nth-child(4) .card .face.face2{
position: relative;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
box-sizing: border-box;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
transform: translateY(-300px);
}

.stack__card:nth-child(4) .card:hover .face.face2{
transform: translateY(0);
}

.stack__card:nth-child(4) .card .face.face2 .content p{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
font-size: 1.2em;
}

.stack__card:nth-child(4) .card .face.face2 .content .animate-gh{
/* margin: 15px 0 0; */
margin-left: 65%;
display: inline-block;
text-decoration: none;
font-weight: 900;
font-size: 1.2em;
color: #333;
padding: 5px;
border: 1px solid #333;
font-family: 'Poppins', sans-serif;
transition: all 0.6s;
}

.stack__card:nth-child(4) .card .face.face2 .content .animate-gh:hover{
background: #333;
color: #fff;
transition: all 0.3s;
}






.stack__card:nth-child(5) {
background-color: #333;
}

0 comments on commit a12c786

Please sign in to comment.