Timeline for What are the implications of using "!important" in CSS? [duplicate]
Current License: CC BY-SA 3.0
Post Revisions
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 5, 2020 at 15:09 | history | closed | TylerH css Users with the css badge or a synonym can single-handedly close css questions as duplicates and reopen them as needed. | Duplicate of What does !important mean in CSS? | |
| Jun 14, 2019 at 21:33 | answer | added | gdfgdfg | timeline score: 1 | |
| Dec 5, 2018 at 17:58 | answer | added | PIZZZZZZZZZZZA is here | timeline score: 1 | |
| Sep 11, 2017 at 15:02 | history | protected | dippas | ||
| Jun 18, 2017 at 11:08 | comment | added | David C | I've used !important sparingly when a linked css file is unavailable to edit in a CMS environment. This highlights a need maybe to allow all editors to have a way to contribute more to the development of the central assets. | |
| Mar 3, 2017 at 3:35 | comment | added | Eric Leschinski |
Using the !important keyword in CSS is a way to prevent other meddlesome programs from taking liberties to interpret your html/css in a way other than what you want. For example when someone goes to print your html/css to paper-and-ink, they often want the background-color property to be white to save ink. So the program overrides your background-color property. This !important keyword prevents that. I find these sorts of keyword switches irritating, like a debate between two teenagers that goes: yes! no! Yes! No! YES! These sorts of keywords indicate disharmony and a power struggle.
|
|
| Feb 29, 2016 at 5:08 | answer | added | garrettmac | timeline score: 11 | |
| Feb 2, 2016 at 13:28 | answer | added | Emanuel Pietri | timeline score: 4 | |
| Nov 28, 2014 at 13:20 | answer | added | osirisgothra | timeline score: 11 | |
| Oct 16, 2014 at 20:26 | history | edited | TylerH | CC BY-SA 3.0 |
Adjusted code indentation, revised grammar, and removed fluff
|
| Sep 20, 2014 at 13:42 | history | edited | Stephan Muller |
edited tags
|
|
| Sep 14, 2010 at 9:02 | history | edited | Piskvor |
edited tags
|
|
| Sep 14, 2010 at 7:49 | answer | added | gianebao | timeline score: 9 | |
| Sep 14, 2010 at 7:41 | vote | accept | Kyle | ||
| Sep 14, 2010 at 7:31 | answer | added | Stephan Muller | timeline score: 293 | |
| Sep 14, 2010 at 7:29 | answer | added | Sidharth Panwar | timeline score: 6 | |
| Sep 14, 2010 at 7:26 | answer | added | Delan Azabani | timeline score: 20 | |
| Sep 14, 2010 at 7:23 | history | asked | Kyle | CC BY-SA 2.5 |