1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Load EXTRA.css for last

Discussion in 'Resolved Bug Reports' started by rellect, Jun 28, 2013.

  1. rellect

    rellect Well-Known Member

    Currently, EXTRA.css is located inside public.css
    There are more css files that are loaded after public.css
    As the browser uses the last css code, every overwrite code in EXTRA.css is useless (unless you will add !important, which may make complications and additional code in some cases)

    If EXTRA.css will be the last css code that is loaded, it will make the code much cleaner and easy for customize, as it will not require to use !important.
     
    DBA likes this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The !important declaration isn't required in all cases, not even in most cases.
    More specificity can remove the need for it most of the time.
     
  3. Mike

    Mike XenForo Developer Staff Member

    It will also reduce cachability significantly. As said, a higher specificity can be used.
     
    Adam Howard likes this.

Share This Page