{
  "id": "custom-select",
  "name": "Custom Select",
  "category": "forms",
  "tags": [
    "select",
    "dropdown",
    "chevron",
    "appearance",
    "form"
  ],
  "description": "A native select restyled with a custom chevron. Still fully accessible.",
  "url": "https://copy-css.com/snippets/custom-select",
  "markdown": "https://copy-css.com/snippets/custom-select.md",
  "html": "<select class=\"select\" aria-label=\"Framework\">\n  <option>Vanilla CSS</option>\n  <option>PostCSS</option>\n  <option>Sass</option>\n</select>",
  "css": ".select {\n  width: 220px;\n  padding: 12px 40px 12px 14px;\n  border: 1.5px solid #d1d5db;\n  border-radius: 10px;\n  background: #fff url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\") no-repeat right 14px center / 16px;\n  color: #111;\n  font: 15px system-ui, sans-serif;\n  -webkit-appearance: none;\n  appearance: none;\n  cursor: pointer;\n}\n\n.select:focus {\n  border-color: #6366f1;\n  outline: none;\n  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);\n}",
  "features": [
    "box shadows"
  ],
  "customProperties": []
}
