Skip to content

Commit

Permalink
made faq responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehak-Mattoo committed Jun 30, 2024
1 parent df8c031 commit 71dad2b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1684,22 +1684,61 @@ h5,
font-weight: 900;
}

@media (min-width: 300px) {
.accordion__question,
.accordion__answer {
font-size: 0.8rem;
}

.accordion__icon {
width: 1.6rem;
height: 1.6rem;
}
}

@media (min-width: 576px) {
.sub-title {
font-size: 2rem;
}

.accordion__question,
.accordion__answer {
font-size: 1rem;
}
.accordion__icon {
width: 1.7rem;
height: 1.7rem;
}
}

@media (min-width: 768px) {
.sub-title {
font-size: 2.5rem;
}
.accordion__question,
.accordion__answer {
font-size: 1.5rem;
}

.accordion__icon {
width: 1.8rem;
height: 1.8rem;
}
}

@media (min-width: 992px) {
.sub-title {
font-size: 3rem;
}
.accordion__question,
.accordion__answer {
font-size: 2rem;
}

.accordion__icon {
width: 2rem;
height: 2rem;
}
}

@media (min-width: 1200px) {
Expand Down

0 comments on commit 71dad2b

Please sign in to comment.