CSS comments: use /* ... */ not //... or <!-- ... -->
The problem you are facing is not related to your flexible code.
The problem is that you are using syntax syntax for commenting text, and this is invalid CSS.
button:ACTIVE { // feedback on touch modal background: aqua; } // next is for images .img { width: 8vmin; }
So what you are actually doing is sending inappropriate code that instead of commenting out the line causes CSS error handling in the game, which kills the following rule. In other words, any rule following your // text text text is ignored as if you did: xheight: 50px .
This is why order does not work for your icon:
// stuff living in
Stick to the standard CSS commenting method. Start the comment with /* . End the comment with */ .
After making changes to your code, the order property works fine (and, as you might expect, other changes occur due to previously ignored code). See the updated version .
More about CSS comments here:
Finally, in a separate note:
You place the code with the vendor prefix after standard versions without the prefix.
#container { flex-wrap: nowrap; -webkit-flex-wrap: nowrap; justify-content: center; -webkit-justify-content: center; align-items: center; -webkit-align-items: center; align-content: space-between; -webkit-align-content: space-between; }
You should think about it. The continuous version (W3C) must last last, so it is always the preferred version in cascade. More details .
source share