1. Home
  2. Articles
  3. Web Design
  4. AMP
  5. AMP and CSS !important
Read about AMP CSS !Important

AMP and CSS !important




While testing the article AMP (accelerated mobile pages) with the Google AMP Test. I found something that I hadn't run into before.


The AMP protocol doesn't support the usage of !important in the CSS.

This means I am going to have to do a little extra work on the AMP pages. Removing the !important references caused a handfull of problems with the mobile dropdown navigation. For the longest time, I refused to use !important in my CSS, and I guess I should of kept it that way.


Profile Picture of Bryan Myers - The Web Guy

Bryan Myers - "The Web Guy"

Advanced Digital Channel Engineer


  1. Articles discussing web related topics and technologies.Articles
  2. Articles about Web Design.Web Design
  3. Articles about to accelerated mobile pages and their usage in website designAMP

Related Articles

Go Back