-
-
Save xliudaxia/3f9fd74fc2e14f68e477181a03007f93 to your computer and use it in GitHub Desktop.
Collapse Componet style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wrapper { | |
display: flex; | |
justify-content: center; | |
width: 100%; | |
height: 100vh; | |
background-color: rgb(228, 239, 239); | |
padding-top: 40vh; | |
} | |
.pannel { | |
width: 400px; | |
text-align: left; | |
} | |
.heading { | |
background-color: #bfa; | |
border-top-left-radius: 10px; | |
border-top-right-radius: 10px; | |
color: #000; | |
font-size: 20px; | |
line-height: 20px; | |
border: 1px solid rgb(212, 240, 205); | |
padding: 10px 20px; | |
display: flex; | |
align-items: center; | |
justify-content: space-between; | |
cursor: pointer; | |
} | |
.content { | |
font-size: 20px; | |
background: #fff; | |
border: 1px solid #fff; | |
border-top: none; | |
padding: 0 20px; | |
color: #000000; | |
overflow: hidden; | |
} | |
.contentInner { | |
padding: 20px 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment