Instead of using prefixes I want to ask site visitors to upgrade their browser

Revised answer after question edit Here is a CSS only way to achieve that. As the CSS @supports won’t work on your targeted (unwanted) browsers: Safari 7-8, IE <= 10, Android Browser < 4.4, UC Browser for Android and Opera Mini < 8, your “browserupgrade” message will be visible on those using this rule. @supports … Read more

Flexbox with Unordered list

You need to apply the flex properties to the <ul> ul { display: flex; flex-direction: row; <– not needed as this is the default behavior flex-wrap: wrap; } Putting the properties on the <div> tells it to display the <ul> in flex, not <li>.

flexbox misbehaving with max-height

OK, here’s the solution I ended up with if anyone is interested: http://jsfiddle.net/vN65r/ Basically, I had to apply the following to the fixed-height header: flex: 0 0 auto; And the following to the variable-height, scrolling body: flex: 0 1 auto; I hope it helps somebody

CSS flex box last space removed

Reason When you don’t use display: flex, the your layout becomes something like <div class=”has_flex”><!– –><anonymous style=”display: inline”>Some text </anonymous><!– –><a style=”display: inline”>Link</a><!– –></div> The text (including the space at the end) is wrapped inside an anonymous inline box: Any text that is directly contained inside a block container element (not inside an inline element) … Read more

How to specify a flex item to be of certain minimum width?

You can use flex-basis and the flex-shrink properties. The CSS flex-basis property specifies the flex basis which is the initial main size of a flex item. The property determines the size of the content-box unless specified otherwise using box-sizing. Change your .marker as follows: .marker { flex: 0 0 2em; height: 2em; background-color: #cef; border: … Read more