.visually-hidden {
position: absolute !important;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
width: 1px;
height: 1px;
word-wrap: normal;
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://github.com/shuhei/material-colors/blob/master/dist/colors.scss | |
| $md-red-50: #ffebee; | |
| $md-red-100: #ffcdd2; | |
| $md-red-200: #ef9a9a; | |
| $md-red-300: #e57373; | |
| $md-red-400: #ef5350; | |
| $md-red-500: #f44336; | |
| $md-red-600: #e53935; | |
| $md-red-700: #d32f2f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* for background-size:cover replacement on iOS devices */ | |
| @media only screen and (orientation: portrait) and (device-width: 320px), (device-width: 768px) { | |
| div { | |
| -webkit-background-size: auto 150%; | |
| background-attachment: scroll; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://glyphicons.com | |
| .mytextwithicon { | |
| padding-left: 15px; | |
| position: relative; | |
| } | |
| .mytextwithicon::before { | |
| font-family: 'Glyphicons Halflings'; | |
| content: '\e001'; |
Click through elements to another element below it on the Z axis: https://css-tricks.com/almanac/properties/p/pointer-events/
pointer-events: none;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo 'Hello World!' | pbcopy | |
| echo `pbpaste` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @include media-breakpoint-up(xs) { } | |
| @include media-breakpoint-up(sm) { } // min-width 576px | |
| @include media-breakpoint-up(md) { } // min-width 769px | |
| @include media-breakpoint-up(lg) { } // min-width 993px | |
| @include media-breakpoint-up(xl) { } // min-width 1201px |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Bookmarks | |
| * | |
| * https://plainjs.com/javascript/ | |
| * https://htmldom.dev/ | |
| * https://javascript.info/ | |
| * https://www.javascripttutorial.net/snippets/ | |
| * https://tobiasahlin.com/blog/move-from-jquery-to-vanilla-javascript/ | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Custom image sizes. | |
| * https: //developer.wordpress.org/reference/functions/add_image_size/ | |
| */ | |
| function THEMENAME_image_size() { | |
| add_image_size( 'card-author', 130, 110, true ); // true = cropped | |
| add_image_size( 'two-column-img', 800 ); // 800 pixels wide with unlimited height |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if (have_rows('price_table_row_with_columns')): ?> | |
| <?php while (have_rows('price_table_row_with_columns')): the_row(); | |
| $row_columns = array( | |
| get_sub_field('row_column_2'), | |
| get_sub_field('row_column_3'), | |
| get_sub_field('row_column_4')); | |
| ?> | |
| <div class="pricing-table-row"> |