📜  反应精确路径突出显示 - CSS 代码示例

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

代码示例1
nav ul {
  list-style: none;
  display: flex;
  background-color: black;
  margin-bottom: 20px;
}

nav ul li {
  padding: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

.current {
  border-bottom: 4px solid white;
}