Hacker News new | past | comments | ask | show | jobs | submit | page 2 login
Bootstrap 5 alpha (getbootstrap.com)
641 points by mkurz on June 16, 2020 | hide | past | favorite | 265 comments



Add dark mode


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.




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

Search: