Created
April 19, 2017 13:34
-
-
Save Ashkanph/6007ad548e7b43c48572ad2319d09e26 to your computer and use it in GitHub Desktop.
Classes of Legend and fieldset for css
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
/* | |
* Use it in pug | |
* | |
* .fieldset | |
* h1.legend(translate="html") sync-title | |
* | |
*/ | |
.fieldset{ | |
// height: 100px; | |
width: 85vw; | |
border:3px solid #002d82; | |
margin: 0 auto 5rem auto; | |
// padding: 10rem; | |
border-radius: 15px; | |
padding-bottom: 5rem; | |
} | |
.legend{ | |
margin: -25px auto 5rem auto; | |
width:220px; | |
background:white; | |
text-align: center; | |
border: 3px #002d82 solid; | |
padding-bottom: 1rem; | |
line-height: 4rem; | |
text-shadow: none; | |
background-color: #ccdeff; | |
border-radius: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment