简体   繁体   English

如何创建这样的网站菜单栏?

[英]How do I create a website menu bar like this?

Apple iPhone 7 Page If you keep scrolling, you'll see that the menu bar sticks and the design is very nice (and it has a defined border). Apple iPhone 7页面如果继续滚动,您会看到菜单栏粘住并且设计非常漂亮(并且它具有定义的边框)。 How can I do something like this? 我该怎么做? I've tried lists with CSS, but they look horrible compared to this? 我已经尝试过使用CSS列出列表,但是相比之下,它们看起来更可怕吗?

您可以使用Bootstrap检查此Afix

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

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