I have a website that uses Bootstrap. Technically, I\'m using Bootstrap 4 at the moment. I want to leverage Accelerated Mobile Pages (AMP) in the publicly-facing parts of my
To get rid of error with maximal size of author's CSS, you can also do following steps when you want to use AMP and Bootstrap together:
entire.csspurifycss entire.css yourpage.html --min --info --out minified.cssminified.css is smaller than 50k then you can put content of this file in EDIT:
There is unfortunately one problem that is hard to workaround. Bootstrap uses in many places !important keyword, which is restricted by AMP. The AMP validator shows this errors first when you got with custom CSS below 50kb.