Skip to content

Commit

Permalink
added faq section (nisha331#34)
Browse files Browse the repository at this point in the history
* added faq section

* removed the comments

* changed the title
  • Loading branch information
ArgyPorgy authored Feb 18, 2023
1 parent a7f3c8f commit d63fcd8
Show file tree
Hide file tree
Showing 3 changed files with 493 additions and 0 deletions.
63 changes: 63 additions & 0 deletions faq.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
body{
background: url("backgrounddropdown.png");

}
.heading{
text-align:center;
font-family: 'Times New Roman', Times, serif;
font-size:60px;
margin-top:150px;
}
.information{
border-color:black;
border-style:solid;
display:flex;
margin:90px;
height:auto;
}

.info{
margin:20px;
font-size:20px;
}

.faq{
margin-top: 2rem;
padding-bottom: 0.1rem;
border-bottom: 2px solid black;
cursor: pointer;
}

.question{
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
}

.answer{
max-height: 0;
padding-top: 1.6rem;
line-height: 1.6;
overflow: hidden;
transition: max-height 0.5s ease-out;
}


.active .answer{
max-height: 500px;
overflow: hidden;
transition: max-height 1s ease-in;
}

#periods{
font-size: 1.5em;
font-weight: bold;
}


#pregnancy{
font-size: 1.5em;
font-weight: bold;
margin-top: 88px;
}
Loading

0 comments on commit d63fcd8

Please sign in to comment.