Remove style-checkboxes-radio-buttons-css
article thumbnail

8 CSS Snippets for Styling HTML Checkboxes & Radio Buttons

SpeckyBoy

HTML form elements such as checkboxes and radio buttons are staples of the web. Thanks to the power of CSS (and the occasional bit of JavaScript), these elements are being put to some seriously creative uses. To demonstrate what checkboxes and radio buttons are capable of, we’ve uncovered eight unique CSS snippets.

Animation 130
article thumbnail

Simplifying Form Styles With `accent-color`

Smashing Magazine Graphics

Simplifying Form Styles With `accent-color`. Simplifying Form Styles With `accent-color`. I don’t know about you, but I love it when new CSS properties arrive that make our daily lives as developers simpler and enable us to remove a whole lot of redundant code. Checkboxes with accent-color. Styling Form Inputs.

Color 118
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Weekly News for Designers ? 655

SpeckyBoy

Recreating MDN’s Truncated Text Effect – Discover the CSS behind this unique text presentation. <article> 8 CSS Snippets for Styling HTML Checkboxes & Radio Buttons – Examples of enhanced inputs that go beyond the ordinary.

article thumbnail

Weekly News for Designers ? 547

Speckyboy Design Magazine

10 CSS & JavaScript Snippets for Beautiful Syntax Highlighting – Help your code snippets stand out with these amazing syntax highlighters. Styler – Use this plugin for Figma to generate styles based on selected layers. Selection controls — UI component series – Check out this look at checkboxes, radio buttons and toggles.

Coding 75
article thumbnail

UI elements are not so elementary

UX Collective

It’s even more non-trivial with toggle buttons, since they don’t actually exist as a standalone web element. Using much the same hiding tactics — every time you’ve toggled something online, you were pressing a hidden [input-type=checkbox] inside. Yep, all toggles are actually redesigned checkboxes as far as the browser is concerned.

Coding 111
article thumbnail

8 CSS & JavaScript Snippets for Switching between Dark or Light Modes

SpeckyBoy

Some websites will now detect whether a user’s operating system is set to use a dark or light color scheme – then serve up the appropriate styles. Here are eight unique CSS and JavaScript code snippets for switching between dark and light modes. The menu uses HTML radio buttons that have been styled into a toggle switch.

article thumbnail

Making of true multi-brand design system

UX Collective

Building an advanced design system for true white-label products with full control over colours, typography and visual styles Same design system, different brands TLDR This is my journey to build a single design system for multiple brands, platforms or products. Change colours, spacing, radii, typography and component styles.

Brand 93