Christian Oliff · Feb 12, 2025
Using Safari's native switch input with Bootstrap
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Safari introduced a native HTML switch element in version 17.4 which is easy to use just by adding the switch attribute to a checkbox input. This is a great feature that allows developers to create a switch without the need for JavaScript or CSS and I hope that other browsers adopt this too. For now you can use a native switch in Safari with fallback styling for other browsers using Bootstrap. CSS…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.