optimization: class duplicates #1630
-
Bug ReportSome elements defined with many duplicate class names. Steps to reproduceloade.css:294 Expected result.ui.primary.loading > i.icon:after Actual result.ui.primary.loading.loading.loading.loading > i.icon:after Version2.8.6-dev |
Beta Was this translation helpful? Give feedback.
Answered by
ColinFrick
Aug 3, 2020
Replies: 1 comment
-
Yes, this is needed. With an increased specificity we were able to remove most For more information see https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lubber-de
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, this is needed. With an increased specificity we were able to remove most
!important
uses.For more information see https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity