Hacker News new | past | comments | ask | show | jobs | submit login

As much as I hate AMP pages I have been forced to use it due to SEO reasons and bootstrap 4 sites aren't AMP comptabible as yet. They exceed the 50kb css limit by AMP.

There have been various attemps(1) to do it but nothing more be more amazing than to have in-built support for it.

Even if the AMP project is misguided mess the 50kb limit on css is still a good goal for mobile sites.

(1) https://www.google.com/search?q=bootstrap+amp+github




You could use only some parts of Bootstrap, by including its SCSS files and commenting out ones you don't need.

Also, you could try css-purge to remove unused classes.




Consider applying for YC's first-ever Fall batch! Applications are open till Aug 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: