Back to CSS

CSS Tutorial

Links and Navigation Menus

Style links, hover states, active states, and navigation layouts.

Navigation menus help users move around a website.

CSS can style link color, spacing, hover effects, and responsive menus.

css
.nav-link {
  color: #111827;
  text-decoration: none;
}

.nav-link:hover {
  color: #2563eb;
}