简体   繁体   English

调整手机大小后,如何使列表项中的锚标记正常运行?

[英]How can I make an anchor tag in a list item function properly when resized for mobile?

I have an <a> tag in an <li> as a button in the header of my application which is responsive. 我在<li>有一个<a>标记作为响应的应用程序标题中的按钮。 However, when I scroll down to mobile sizes, the <a> tag no longer functions. 但是,当我向下滚动到移动设备尺寸时, <a>标记将不再起作用。

Here is a link to the site. 是该网站的链接。

The <a> tag that I am referencing is the "Get Started" item. 我引用的<a>标记是“入门”项。 I have no idea why it would stop working on resize. 我不知道为什么它将停止调整大小。 Can anyone help me with this? 谁能帮我这个? It would be much appreciated. 将不胜感激。

向您的按钮添加position: relative属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM