Koderne.dk

Meld dig ind i vores webmaster fællesskab

Style Checkbox & Radio button med CSS

Style Checkbox & Radiobutton med CSS input[type="checkbox"] { /* Add if not using autoprefixer */ -webkit-appearance: none; /* Remove most all native input styles */ appearance: none; /* For iOS < 15 */ background-color: var(–form-background); /* Not removed via appearance */ margin: 0; font: inherit; color: currentColor; width: 1.15em; height: 1.15em; border: 0.15em solid currentColor; […]