📜  如果我们单击它,如何使导航栏着色 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:47.905000             🧑  作者: Mango

代码示例2
if we are working in multi pages than:-
give a class to each navbar like:-
  • Home
  • in main.html page
  • Contact
  • in contacr.html follow the same step to every navbar page and write css:- .navbar .menu .current{ color: #0f0; }