Created
June 16, 2019 17:46
-
-
Save jsmanifest/69acf8481db28e7ecab9035e59c14d56 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.form { | |
max-width: 400px; | |
margin: auto; | |
} | |
.uploader { | |
display: flex; | |
justify-content: center; | |
flex-direction: column; | |
width: 100%; | |
box-sizing: border-box; | |
} | |
.uploader-input { | |
position: relative; | |
transition: all 3s ease-out; | |
box-sizing: border-box; | |
width: 100%; | |
height: 150px; | |
border: 1px solid rgb(194, 92, 67); | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
color: #fff; | |
} | |
.uploader-input:hover { | |
filter: brightness(100%) contrast(90%); | |
border: 1px solid rgb(223, 80, 44); | |
} | |
.uploader-input:active { | |
filter: brightness(70%); | |
} | |
.uploader-input-content { | |
color: #fff; | |
height: 100%; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.uploader-overlay { | |
transition: all 2s ease-out; | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
z-index: -1; | |
background-size: cover; | |
} | |
.uploader-overlay:hover { | |
filter: brightness(75%); | |
} | |
.uploader-overlay:active { | |
filter: brightness(40%); | |
} | |
.cursor-pointer { | |
cursor: pointer; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment