You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Howdy.
I'm running Google Lighthouse to audit my app against Progressive Web Apps best practices, and I'm getting some warnings.
Avoids old CSS flexbox
The 2009 spec of Flexbox is deprecated and is 2.3x slower than the latest spec
.flex {
display:-webkit-box;
}
.flex-m {
display:-ms-flexbox;
}
etc.
Under URLs, Lighthouse lists every instance of display: box that it found on your page's stylesheets. Replace every instance with the new syntax, display: flex.
If a stylesheet is using display: box, then it may be using other deprecated Flexbox properties. In short, every property that begins with box, such as box-flex, is deprecated and should be replaced. See CSS Flexbox 2009/2011 Spec Syntax Property Mapping to see exactly how the old properties map to the new ones.
@mrmrs do you feel strongly about that one?
Thanks
The text was updated successfully, but these errors were encountered:
Howdy.
I'm running Google Lighthouse to audit my app against Progressive Web Apps best practices, and I'm getting some warnings.
See Flexbox layout isn't slow for Old v New Flexbox Benchmark.
See: Site Does Not Use The Old CSS Flexbox
How to pass the audit
Under URLs, Lighthouse lists every instance of
display: box
that it found on your page's stylesheets. Replace every instance with the new syntax,display: flex
.If a stylesheet is using
display: box
, then it may be using other deprecated Flexbox properties. In short, every property that begins with box, such asbox-flex
, is deprecated and should be replaced. See CSS Flexbox 2009/2011 Spec Syntax Property Mapping to see exactly how the old properties map to the new ones.@mrmrs do you feel strongly about that one?
Thanks
The text was updated successfully, but these errors were encountered: