如何使用flexbox构建类似该网站的Navbar(codewithharry) enter image description here
请提供源链接或向我解释 或分享任何教程的链接 确保大部分都使用FLEXBOX而且我不想使用引导程序
答案 0 :(得分:1)
答案 1 :(得分:1)
您可以在此处找到带有导航栏的基本Bootstrap 4基本模板:
https://www.w3schools.com/bootstrap4/bootstrap_templates.asp
请注意,Bootstrap3和Bootstrap4之间的主要区别是从使用浮点数到flexbox的切换。
参考:
A quick, concise video tutorial to flexbox
An excellent interactive cheatsheet for flexbox
A Bootstrap3 tutorial that includes a NAV bar - worth working through even for Bootstrap4