Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Should I use !important when creating a CSS Framework?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #286015
    ainsley_clark
    Participant

    Hi all,

    I’m in the middle of creating a bare-bones CSS Framework as a personal project.

    Im debating using !important on my utility classes, I can see ups and downs on both sides, wondering your opinion on it?

    e.g:

    .position-relative {
    position: relative !important;
    }

    Many thanks in advance.

    #286017
    Shikkediel
    Participant

    In my opinion, the less it’s used the better…

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.