Skip to content

AskiaADX/demo-GraniteSwitches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Granite Switches

Demo for a CSS-only ADC 2.0 switch control for multiple questions.

Preview

Preview of Granite switches

Possible variables to be open to the end-users

  • Switch outer circle background gradient
  • Switch inner oval color when normal
  • Switch inner oval color when active
  • Response item color for hover and active states

I would not open the switch sizing to end-users as it would oblige them to fiddle around with positioning. I would also not open modification of box-shadows as they're set in rgba, it should be fine with whatever color they decide on using.

Known issues

This demo was successfully tested in Chrome, Firefox, Safari, Opera and IE9+. Haven't had time to test in IE 8 or older but it should work as there are no CSS transforms in this demo.

Releases

No releases published

Packages

No packages published

Languages