Created
May 30, 2016 03:06
-
-
Save tyaslab/3657a930e004cc09652d8ccd1a04cb71 to your computer and use it in GitHub Desktop.
flex with content no space
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
.container { | |
width: 300px; | |
display: flex; | |
background-color: blue; | |
} | |
.fake-sidebar { | |
flex: 0 0 100px; | |
background-color: magenta; | |
} | |
.long-word { | |
flex: 0 0 fill; | |
background-color: yellow; | |
margin-left: 10px; | |
/* max-width: 100%; */ | |
min-width: 0; | |
word-wrap: break-word; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment