如何在AMP HTML中创建响应式汉堡菜单 [英] How to create a responsive hamburger menu in AMP HTML
本文介绍了如何在AMP HTML中创建响应式汉堡菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试创建AMP HTML网站(请参阅 https://www.ampproject.org ) 但是我找不到任何地方应该如何创建响应式汉堡菜单? 不允许使用Javascript,并且没有适用的AMP组件吗?
I'm trying to create an AMP HTML website (see https://www.ampproject.org) But i can't find anywhere how you are supposed to create a responsive hamburger menu ? Javascript is not allowed and there are no AMP Components available for it ?
推荐答案
AMP now has support for menu using the amp-sidebar component.
这篇关于如何在AMP HTML中创建响应式汉堡菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文