Skip to content

Commit

Permalink
Update index.css
Browse files Browse the repository at this point in the history
  • Loading branch information
reflecthub authored Oct 30, 2024
1 parent d3feaa0 commit 4557a89
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ body {
flex-direction: column;
min-height: 100vh;
}
/* Default styles for larger screens */
/* Default styles for larger screens */
/* Default styles for larger screens */

.responsive-description {
font-size: 16px;
white-space: normal; /* Allow wrapping on large screens */
Expand Down Expand Up @@ -54,6 +52,31 @@ body {
max-width: 150px;
}
}
.responsive-description1 {
font-size: clamp(1.8rem, 6vw, 4rem) !important; /* Dynamically resize with limits */
white-space: normal; /* Allow text wrapping if needed */
max-width: 100%; /* Full width of the container */
line-height: 1.2; /* Tighten line height */
margin: 0; /* Remove extra margins */
}

/* Further adjustments for smaller screens */
@media (max-width: 991px) {
.responsive-description1 {
font-size: clamp(2.5rem, 9vw, 10rem) !important;
}
}
@media (max-width: 768px) {
.responsive-description1 {
font-size: clamp(2.5rem, 8vw, 10rem) !important;
}
}

@media (max-width: 480px) {
.responsive-description1 {
font-size: clamp(2.5rem, 14vw, 10rem) !important;
}
}



Expand Down

0 comments on commit 4557a89

Please sign in to comment.