Adding display:-webkit-flex REMOVES display:flex…
-
I’m trying to get flex to work cross browser using the jetpack custom CSS plugin. When adding the universal + browser specific (for example -webkit-flex) display lines, the universal (display:flex) is stripped in the CSS served to the browser (verified via a wget of the CSS) even though it stays visible in the CSS editor…
This:
#masthead .hgroup #header-sidebar { display: -webkit-flex; display: flex; -webkit-flex-direction: column; -webkit-justify-content: center; flex-direction: column; justify-content: center; }
Is served to the browser as:
#masthead .hgroup #header-sidebar { display:-webkit-flex; -webkit-flex-direction:column; -webkit-justify-content:center; flex-direction:column; justify-content:center }
(formatted for reading).
This basically means it is impossible to use flex on correct browsers like Firefox and also on broken browsers like Safari…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding display:-webkit-flex REMOVES display:flex…’ is closed to new replies.