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);| $('#circles .open-modal').click(function(e){ | |
| e.stopImmediatePropagation(); | |
| $('#circles .modal:visible').fadeOut(); | |
| $(this).next('.modal').fadeIn(); | |
| }); | |
| $('#circles .close').click(function(){ | |
| $(this).parent('.modal').fadeOut(); | |
| }) | |
| $("body").click(function(e) { |
| .triangle{ | |
| width: 0; | |
| height: 0; | |
| border-bottom: 100px solid #000; | |
| border-left: 50px solid transparent; | |
| border-right: 50px solid transparent; | |
| } |
| .container { | |
| line-height: 200px; | |
| } | |
| .block { | |
| display: inline-block; | |
| line-height: 1.2; | |
| vertical-align: middle; | |
| } |
| =select-reset | |
| -webkit-appearance: none | |
| -moz-appearance: none | |
| text-indent: 0.01px | |
| text-overflow: '' | |
| -ms-appearance: none | |
| appearance: none!important | |
| &::-ms-expand | |
| display: none |
| .wrapper { | |
| width: 100px; | |
| margin: 0 auto; | |
| } | |
| .box { | |
| background: goldenrod; | |
| margin-left: auto; | |
| margin-right: auto; | |
| padding-top: 50%; |
| $( '.fileContainer [type=file]' ).on( 'click', function updateFileName( event ){ | |
| var $input = $( this ); | |
| setTimeout( function delayResolution(){ | |
| $input.parent().text( $input.val().replace(/([^\\]*\\)*/,'') ) | |
| }, 0 ) | |
| } ); |
| $( '.fileContainer [type=file]' ).on( 'change', function updateFileName( event ){ | |
| var $input = $( this ); | |
| $input.parent().next('.fileName').text( $input.val().replace(/([^\\]*\\)*/,'') ) | |
| } ); |
| const str: string; | |
| str.split(',').map(e=> `'${e.trim()}'`).join(', ') |