'is AMP not compatible with CSS Grid / Flexbox?

Just done a new lightweight responsive html website in CSS Grid with a bit of flexbox - working perfectly.

Converted a test page (with a bit of everything in it) to AMP, validated in Google DevTools.

Woo-Hoo me thinks - until I look at the page in a couple of browsers.

Content all present but certainly not correct - all the 'grid-template-areas' jumbled up.

Removed all the AMP stuff and page displays perfectly.

Any comments please? Can't provide a link as the site is still local.

Thank you.

I'll try again but without the named 'grid-template-areas'.

Should have realised that it was going uncommonly well :-)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source