Skip to content

Latest commit

 

History

History
executable file
·
35 lines (26 loc) · 506 Bytes

README.md

File metadata and controls

executable file
·
35 lines (26 loc) · 506 Bytes

Form component

If you want your form to have a working validation this component might work for you.

How to use

  1. Install the component using NPM
npm install --save kopfwelt/component-form
  1. Import the SCSS mixins and apply them
@import 'node_modules/kopfwelt/component-ratio/component-ratio-mixin';

input {
	@include validate-border;
}
  1. Use it
input {
	@include validate-border;
}
label {
	@include validate-text;
}
label a {
	@include validate-link;
}