Skip to content

Commit

Permalink
resized card-imgs of our features section
Browse files Browse the repository at this point in the history
  • Loading branch information
Palmistry2310 committed Oct 6, 2024
1 parent eeedad5 commit 3555743
Showing 1 changed file with 18 additions and 22 deletions.
40 changes: 18 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,37 +24,29 @@
}


<label for="dark-mode-toggle" style="margin: 20px; display: block; text-align: center;"><label for="dark-mode-toggle"><input type="checkbox" id="dark-mode-toggle" />Toggle Dark Mode </label></label>.features-card {
/* <label for = "dark-mode-toggle" style="margin: 20px; display: block; text-align: center;"><label for="dark-mode-toggle"><input type="checkbox" id="dark-mode-toggle" />Toggle Dark Mode </label></label>.features-card {
background-color: white;
padding: 30px;
padding : 30px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: calc(25% - 30px);
text-align: center;
transition: transform 0.3s, box-shadow 0.3s, z-index 0.3s;
position: relative;
z-index: 1;
}
} */

.features-card:hover {
transform: translateY(-10px) scale(1.1);
box-shadow: 0 4px 8px #0073b1;
z-index: 3;
}

.features-card img {
width: 60px;
height: 60px;
margin-bottom: 20px;
border-radius: 10px;
transition: transform 0.3s ease;
}

< !-- Features Section --><style>.features {
/* < !-- Features Section --><style>.features {
padding: 60px 20px;
background-color: #f9f9f9;
/* Consider changing this to a darker tone if needed */
}
/* Consider changing this to a darker tone if needed
} */

.features h2 {
text-align: center;
Expand All @@ -76,8 +68,8 @@
.features-card {
background-color: #fff;
/* You might want to change this to a softer off-white */
padding: 30px;
border-radius: 8px;

border-radius: 18px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: calc(25% - 30px);
text-align: center;
Expand All @@ -95,12 +87,12 @@
}

.features-card img {
width: 60px;
width: 100%;
/* Set the width for the icon images */
height: 60px;
height: 185px;
/* Set the height for the icon images */
margin-bottom: 20px;
border-radius: 10px;
/* margin-bottom: 20px; */
border-radius: 10px 10px 0 0;
/* Rounded corners for the images */
transition: transform 0.3s ease;
}
Expand Down Expand Up @@ -408,8 +400,10 @@
/* Remove default margin */
background: linear-gradient(90deg, #ff6f61, #de8c3e);
/* Gradient background */
-webkit-background-clip: text;
/* Clip background to text */

background-clip: text; /* Standard property */
-webkit-background-clip: text; /* Clip background to text */ /* For Safari and older versions of Chrome */

-webkit-text-fill-color: transparent;
/* Fill color to transparent for effect */
}
Expand Down Expand Up @@ -541,6 +535,7 @@
margin-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
}

/* Responsive Styles */
@media (max-width: 768px) {
Expand Down Expand Up @@ -794,6 +789,7 @@ <h3>Connect With Us</h3>
scrollToTopBtn.onclick = function () {
window.scrollTo({ top: 0, behavior: 'smooth' }); // Smooth scroll to top
};
</script>

<script src="https://unpkg.com/[email protected]/dist/typed.umd.js">
</script>
Expand Down

0 comments on commit 3555743

Please sign in to comment.