Back to Windicss

Forms

plugins/official/forms.md

latest564 B
Original Source

Forms

Base Styles

  • input[type='text']
  • input[type='password']
  • input[type='email']
  • input[type='number']
  • input[type='url']
  • input[type='date']
  • input[type='datetime-local']
  • input[type='month']
  • input[type='week']
  • input[type='time']
  • input[type='search']
  • input[type='tel']
  • input[type='checkbox']
  • input[type='radio']
  • select
  • select[multiple]
  • textarea

Usage

js
export default {
  theme: {
    // ...
  },
  plugins: [
    require('windicss/plugin/forms'),
    // ...
  ],
}