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

Fix Image Distortion and Clickable Issue #664

Open
wants to merge 1 commit into
base: main
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ nav .fa {
}

.card {
cursor: pointer;
/* cursor: pointer; */
text-align: center;
animation: slideIn 0.5s ease-in-out;
transform: translateY(-2.2rem);
Expand All @@ -572,14 +572,14 @@ nav .fa {
.card img {
height: 200px;
width: 200px;
object-fit: cover;
border-radius: 50%;
}

.card img:hover {
/* border: 5px solid #f9004d; */
outline: 0px solid transparent;
padding: 3px 3px;
border: 2px solid red;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
Expand Down
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ <h5>Shayan Pal</h5>
<a href="https://bio.link/shayanpal"><button>Let's Connect</button></a>
</div>
</div> -->

<div data-aos="fade-up" ddata-aos-duration="800" class="card">
<img src="./images/soumyadeep.jpg" alt="soumyadeep" loading="lazy">
<h5>Soumyadeep Dhali</h5>
Expand All @@ -149,6 +150,7 @@ <h5>Soumyadeep Dhali</h5>
<a href="https://soumyadeep.bio.link"><button>Let's Connect</button></a>
</div>
</div>

<div data-aos="fade-up" data-aos-duration="800" class="card">
<img src="./images/susmita.jpg" alt="" loading="lazy">
<h5>Susmita Dey</h5>
Expand Down
5 changes: 3 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,10 @@ nav .fa {

.card img {
width: 200px;
height: 200px;
height: auto;
object-fit: cover;
border-radius: 90px;
border-radius: 50%;

}

.card img:hover {
Expand Down