{
  "id": "pill-nav",
  "name": "Pill Nav",
  "category": "navigation",
  "tags": [
    "pill",
    "nav",
    "links",
    "rounded",
    "active"
  ],
  "description": "A rounded navigation bar where the current link sits in a solid pill.",
  "url": "https://copy-css.com/snippets/pill-nav",
  "markdown": "https://copy-css.com/snippets/pill-nav.md",
  "html": "<nav class=\"pill-nav\" aria-label=\"Main\">\n  <a href=\"#\" aria-current=\"page\">Home</a>\n  <a href=\"#\">Work</a>\n  <a href=\"#\">About</a>\n  <a href=\"#\">Contact</a>\n</nav>",
  "css": ".pill-nav {\n  display: inline-flex;\n  gap: 4px;\n  padding: 5px;\n  border: 1px solid rgba(255, 255, 255, 0.1);\n  border-radius: 999px;\n  background: #27272a;\n  font: 500 14px/1 system-ui, sans-serif;\n}\n\n.pill-nav a {\n  padding: 9px 16px;\n  border-radius: 999px;\n  color: #a1a1aa;\n  text-decoration: none;\n  transition: color 0.15s ease, background 0.15s ease;\n}\n\n.pill-nav a:hover {\n  color: #fafafa;\n}\n\n.pill-nav a[aria-current=\"page\"] {\n  background: #fafafa;\n  color: #18181b;\n}",
  "features": [
    "transitions",
    "Flexbox"
  ],
  "customProperties": []
}
