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

Added good animation and CSS to cards #98

Merged
merged 3 commits into from
Jun 11, 2023
Merged
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
54 changes: 43 additions & 11 deletions src/components/HomeOurValues/Values.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
margin: 2rem 0 1rem 0;
font-size: 3.2rem;
font-weight: bold;
font-family: 'Poppins', sans-serif;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.values-container {
Expand Down Expand Up @@ -35,29 +35,61 @@
}

.empowerment-section{
background: #FF69B4;
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
margin-right: 25px;
background: #fff;
box-shadow: 0 0.5rem 1.5rem rgba(197, 136, 31, 0.2);
margin-right: 10px;
transition-property: width;
}
.empowerment-section:hover{
animation: scaleAnimation 2s ease-in-out forwards;
animation: scaleAnimation 1s ease-in;
}

.empowerment-section{
align-content: space-between;
color: rgb(0, 14, 0);
left: 0%;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
transition: box-shadow 0.3s ease;
}


.collab-section{
background: #FFB52E;
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
background: #fff;
box-shadow: 0 0.5rem 1.5rem rgba(39, 230, 61, 0.2);
margin: 0 10px;
}
.collab-section:hover{
animation: scaleAnimation 2s ease-in-out forwards;
animation: scaleAnimation 1s ease-in;
}

.collab-section{
align-content: space-between;
color: rgb(0, 14, 0);
left: 0%;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}


.growth-section{
background: #6ECB5A;
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
background: #fff;
box-shadow: 0 0.5rem 1.5rem rgba(132, 97, 235, 0.2);
border-radius: 5px;
transition-property: width;
margin: 0 10px;
}
.growth-section:hover{
animation: scaleAnimation 2s ease-in-out forwards;
animation: scaleAnimation 1s ease-in;
}

.growth-section{
align-content: space-between;
left: 0%;
color: rgb(0, 14, 0);
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}



@keyframes scaleAnimation {
0% {
transform: scale(1);
Expand Down