Combining amphtml and twitter bootstrap

2019-06-23 17:41:34+00

For my websites I wish to use both amphtml (www.amp.dev) and twitter bootstrap 4 (www.getbootstrap.com).

For this combination I need for solve those problems:

  • The size of the css declarations must not exceed 50KB. Bootstrap 4.3.1 is in a minimized form of 152KB.
  • CSS declarations must not include !important

Solution: extract all relevant classes form bootstrap.

Tag: getbootstrap