DEV Community

davidka7
davidka7

Posted on

Basic Tips to Over Write Custom CSS and SCSS

I think a common problem for many new front end developers when using css and javascript frameworks like bootstrap, bootswatch, etc. Is when they run into a css customized object or function that can't be changed to their own preferences. I learned a simple tip which might not be the most biggest thing out there, and might be a little dangerous to use, but would surely be helpful for new front engineers. Before we get there, don't forget you can always switch off between Id's and classNames. The syntax to overwriting css is actually pretty simple, Syntax Example:
classname or id { "the css functionality": none !important; }. The !important is what overwrites, and if you need to overwrite the overwrite because of some special functionality then you can just wright it on a lower line then the first one.

Top comments (1)

Collapse
 
nk2303 profile image
Ngan Kim Khong

then you can just "wright" it on a lower line then the first one.