Improved .visually-hidden
Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.
<?php | |
return [ | |
// default values for optimage tag if no values are set | |
'optimagetag' => [ | |
'width' => '1200', | |
'height' => null, | |
'quality' => '55' | |
] |
// different maps for different configurations... | |
$susy: ( | |
columns: 4, | |
); | |
$medium: ( | |
columns: 8, | |
); | |
$large: ( |
"use strict"; | |
function remember(...args){ | |
const [key, value] = args; | |
if(args.length === 1){ // recall | |
return new Promise(resolve => { | |
setTimeout(() => { | |
const val = localStorage.getItem(key); | |
These rules are adopted from the AngularJS commit conventions.