Skip to content

neodigm/css_checkbox

Repository files navigation

Pure CSS HTML Checkbox

Pure CSS color branded checkbox. Tested on mobile, tablet, laptop, and desktop. Tested on all evergreen user agents.

Vivid Vector Interactive Infographic ⚡ WASM ✨ PWA 🍭 Svelte Crave Breathtaking Infographics UX PWA Typescript Svelte ThreeJS Vue ✨htmlx Delirious Stunning

Life-changing Gorgeous Skulduggery Interactive Infographic ⚡ WASM ✨ PWA 🍭 Svelte Suddenly Seriously Dazzling Shopify PWA Polaris Liquid GraphQL 🍭 Effortless Unexpected UX artisan ⚡ illustrator ⚡ front-end engineer Undeniable Shopify PWA Polaris Liquid GraphQL 🍭 Frenzy Truly Lucrative 🌑🌒🌓🌔🌕🌖🌗🌘🌑 Divulge Definitive Ironclad Brilliant Join Help Discover Create Come along Three.js 🚀 TypeScript 🚀 WASM ✨ Go DataVis 👁️ UX 🍭 PWA 👁️ ThreeJS ✨ Vue  🚀 alpine.js 🌶️ htmx  🌑🌒🌓🌔🌕🌖🌗🌘🌑

/* Checkbox styles Begins */
.prod-sec__fbt .js-selectall {
    position: absolute;
    border: solid 1px #444;
    opacity: 0;
  }
.prod-sec__fbt .js-selectall + label {
    position: relative;
    cursor: pointer;
    padding: 0;
  }
.prod-sec__fbt .js-selectall + label:before {
    content: "";
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px; height: 20px;
    background: white;
   border: solid 1px #444;
  }
.prod-sec__fbt .js-selectall:checked + label:before  {
    background: #30619a;
  }
.prod-sec__fbt .js-selectall:focus + label:before {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
  }
.prod-sec__fbt .js-selectall:checked + label:after {
    background: white;
}
.prod-sec__fbt .js-selectall:checked + label:after {
    content: "";
    position: absolute;
    left: 5px; top: 9px;
    background: white;
    width: 3px; height: 3px;
    box-shadow: 3px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
  }
/* Checkbox styles End */

Portfolio Blog | 🌶️ Résumé | UX micro-library | PWA WASM | Web Tool Toys | Neodigm UX Wiki | NPM | Github | LinkedIn | Gists | Salesforce | Code Pen | Machvive | Arcanus 55 | Medium | W3C | InfoSec

TypeScript UX 🪐 Interactive Infographic ⚡ WASM ✨ PWA 🍭 Svelte

Interactive Infographic

Releases

No releases published

Packages

No packages published

Languages