我已经制作了一个响应式导航栏,但是当屏幕变小并且我点击切换图标将其展开时,我的切换图标会从右向左移动。这是问题的screenshot。
我的代码的链接: https://github.com/Anonsatyam/Responsive-navbar
这是因为你忘记添加“px”。 See this image.