Relative Content

Tag Archive for amp-htmlamp-emailamp-list

How can I show amp-list horizontally? When i style the container as display: flex i can’t see the list at all

<!doctype html> <html ⚡4email data-css-strict> <head> <meta charset=”utf-8″> <script async src=”https://cdn.ampproject.org/v0.js”></script> <script async custom-element=”amp-form” src=”https://cdn.ampproject.org/v0/amp-form-0.1.js”></script> <script async custom-element=”amp-list” src=”https://cdn.ampproject.org/v0/amp-list-0.1.js”></script> <script async custom-template=”amp-mustache” src=”https://cdn.ampproject.org/v0/amp-mustache-0.2.js”></script> <script async custom-element=”amp-bind” src=”https://cdn.ampproject.org/v0/amp-bind-0.1.js”></script> <style amp4email-boilerplate> body { visibility: hidden } </style> <style amp-custom> .container { display: flex; } .product-item { width: 200px; } </style> </head> <body> <amp-state id=”selectedProduct”> <script type=”application/json”> { […]