Created
October 15, 2014 16:05
-
-
Save marcelosomers/07e7e472e7b589ba0081 to your computer and use it in GitHub Desktop.
2 Variable Width side by side divs
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
/* | |
The wider content that should fill all remaining width - this one will resize | |
*/ | |
.fluid { | |
width: 99%; | |
display: table-cell; | |
} | |
/* | |
The narrower content that should take up all necessary space - this one will not resize | |
*/ | |
.fill { | |
white-space: nowrap; | |
display: table-cell; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment