Last active
September 30, 2020 14:07
-
-
Save vorpal56/cb5c3008d65212e97fd39ab20bad6d24 to your computer and use it in GitHub Desktop.
Contact form without a server using Angular - Contact Component 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
.hidden { | |
display: none | |
} | |
.visible { | |
display: block | |
} | |
.center-text { | |
text-align: center | |
} | |
form.contact { | |
display: flex; | |
flex-direction: column; | |
max-width: 200px; | |
width: 200px; | |
margin-left: auto; | |
margin-right: auto; | |
margin-top: 30px; | |
} | |
input, | |
button { | |
margin-bottom: 10px; | |
} | |
button { | |
margin-top: 10px; | |
background-color: transparent; | |
color: black; | |
border: 1px solid black; | |
padding: 4px 16px; | |
transition: 0.4s; | |
width: 100%; | |
margin-top: 10px; | |
} | |
button:hover:enabled{ | |
color: white; | |
background-color: black; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment