A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);| $('.form-accept__input').change(function(event) { | |
| var check = $(this).prop('checked'); | |
| if (!check) { | |
| event.preventDefault(); | |
| $(this).parents('.form').find('.form__btn').attr('disabled', 'disabled'); | |
| } else { | |
| $(this).parents('.form').find('.form__btn').removeAttr('disabled'); | |
| }; | |
| }); |
| // ============================ | |
| // RESETS | |
| // ============================ | |
| table, thead, tbody, tfoot, tr, th, td | |
| margin: 0 | |
| padding: 0 | |
| border: none | |
| border-collapse: inherit | |
| border-spacing: 0 | |
| border-color: inherit |
| $('').keypress(function(e) { | |
| if (e.ctrlKey || e.altKey || e.metaKey) return; | |
| var chr = getChar(e); | |
| if (chr == null) return; | |
| if (chr < '0' || chr > '9') { | |
| return false; | |
| } |