Created
September 8, 2018 21:54
-
-
Save thinsoldier/bf3b364c59d154af59a1ab17a0c716a8 to your computer and use it in GitHub Desktop.
dev.bahamasrealty.com quicksearch layout css grid idea
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
@supports( display: grid) | |
{ | |
#quicksearch form { | |
display: grid; | |
grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); | |
grid-gap: .5em; | |
min-height: 208px; | |
justify-content: center; | |
} | |
#quicksearch form div { | |
display: grid; | |
/* align-content: stretch; */ | |
/* align-items: stretch; */ | |
margin: 0; | |
} | |
#quicksearch select { | |
all: inherit; | |
text-align: left; | |
padding-left: 0.5em; | |
width: 100%; | |
border: 1px solid rgb(204, 204, 204); | |
box-sizing: border-box; | |
white-space: nowrap; | |
/* webkit */ | |
align-items: center; | |
} | |
#quicksearch input.text { | |
height: auto; | |
} | |
#quicksearch input.submit { | |
grid-column: 1 / -1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment