Last active
August 29, 2020 19:30
-
-
Save Theo-denBlanken/8fc3972de99e42a2a1e88475261cf28f to your computer and use it in GitHub Desktop.
geen herhaling, opdeling van verantwoordelijkheden en BEM
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
.knoppen { | |
display: grid; | |
grid-gap: 1em; | |
grid-template-rows: repeat(auto-fill, 2em); | |
width: 7em; | |
margin: 0 .5em; | |
} | |
.knoppen--horizontaal { | |
width: 100%; | |
grid-template-columns: repeat(auto-fill, minmax(7em, auto)); | |
} | |
.knop { | |
background-color: darkcyan; | |
text-decoration: none; | |
text-align: center; | |
display: block; | |
border-radius: .2em; | |
} | |
.knop:hover { | |
background-color: forestgreen; | |
} | |
.knop__tekst { | |
line-height: 2.45em; | |
color: #fff; | |
font-family: Arial, Helvetica, sans-serif; | |
font-weight: 900; | |
font-size: .8em; | |
} | |
.knop--annuleer { | |
background-color: rgb(96, 96, 96); | |
} | |
.knop--annuleer:hover { | |
background-color: rgb(34, 34, 34); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment