Skip to content

Commit

Permalink
Merge pull request #59 from rishabhpathak359/dev
Browse files Browse the repository at this point in the history
Team Card Corrected
  • Loading branch information
virajchandra51 authored Sep 29, 2023
2 parents 47333a4 + 1a005cc commit 21facbc
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
32 changes: 30 additions & 2 deletions src/components/teamCard3/TeamCard3.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
transform: scale(1.1);
}

.overall{
transform: translateY(-50px);
.overall {
transform: translateY(-50px); /* Adjust the translateY value as needed */
}

.normal{
Expand Down Expand Up @@ -157,3 +157,31 @@
top: 0;
}
}
@media (max-width: 768px) {
.normal{
transform: translateY(10px);
order: 2;
}
.codeutsava__team-card3 {
flex-direction: column;
}

.codeutsava__team-card3.normal {
transform: translateY(10px);
}

.codeutsava__team-card3.overall {
transform: none;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
.normal{
order: 2;
}
.overall{
transform: translateY(10px);
}
.codeutsava__team-card3 {
flex-direction: row; /* Reset flex direction to row for tablets */
}
}
2 changes: 1 addition & 1 deletion src/pages/home/sections/section1/Section1.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ button.codeutsava__section1-intro-audio-btn {
padding-top:4px ;
border: none;
outline: none;
cursor: pointer
cursor: pointer;
}
.codeutsava__section1-side-links li button:hover {
list-style: none;
Expand Down

0 comments on commit 21facbc

Please sign in to comment.