我的切换图标功能不佳。当我点击它时,它从右向左移动

问题描述 投票:0回答:1

我已经制作了一个响应式导航栏,但是当屏幕变小并且我点击切换图标将其展开时,我的切换图标会从右向左移动。这是问题的screenshot

我的代码的链接: https://github.com/Anonsatyam/Responsive-navbar

html html5
1个回答
0
投票

这是因为你忘记添加“px”。 See this image.

screenshot of the code around line 60

© www.soinside.com 2019 - 2024. All rights reserved.