CSS Stockを表示するスマートフォンのモック
デザインの例1デザインの例2デザインの例3

4 toggle button designs made with HTML/CSS

We have put together a design for a toggle button that can switch between two states, ON and OFF, that can be created using only HTML and CSS without requiring Java Script. You can copy and paste anything from things you often see on iOS to things with text.

Simple

Like iOS

Like iOS

  1. Design Adjustment
  2. Copy HTML
  3. Copy CSS
  4. Completion
step1

Adjust design

  • Animation

I tried to reproduce the toggle button used in iOS. When placing a label, it is recommended to place it on the left side in consideration of the user's eye movement.

Like iOS(with edges)

Like iOS(with edges)

  1. Design Adjustment
  2. Copy HTML
  3. Copy CSS
  4. Completion
step1

Adjust design

  • Animation
Like iOS(thin background)

Like iOS(thin background)

  1. Design Adjustment
  2. Copy HTML
  3. Copy CSS
  4. Completion
step1

Adjust design

  • Animation

With text

Yes/No

Yes/No

  1. Design Adjustment
  2. Copy HTML
  3. Copy CSS
  4. Completion
step1

Adjust design

  • animation