Skip to content

Instantly share code, notes, and snippets.

View yoanmalie's full-sized avatar
👋
Hello World

Yoan Malié yoanmalie

👋
Hello World
View GitHub Profile
@foobartel
foobartel / config.php
Last active August 27, 2019 06:18
A Kirby 3 plugin to output optimised images in content textarea fields.
<?php
return [
// default values for optimage tag if no values are set
'optimagetag' => [
'width' => '1200',
'height' => null,
'quality' => '55'
]
@ffoodd
ffoodd / improved-sr-only.markdown
Last active May 3, 2024 15:23
Improved .sr-only

Improved .sr-only

Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.

A Pen by ffoodd on CodePen.

License.

@mirisuzanne
mirisuzanne / grids.scss
Created September 20, 2016 17:12
Changing configurations in Susy 3
// different maps for different configurations...
$susy: (
columns: 4,
);
$medium: (
columns: 8,
);
$large: (
@DavidBruant
DavidBruant / remember.js
Created March 3, 2016 19:40
Remember.js
"use strict";
function remember(...args){
const [key, value] = args;
if(args.length === 1){ // recall
return new Promise(resolve => {
setTimeout(() => {
const val = localStorage.getItem(key);
@addyosmani
addyosmani / README.md
Last active April 2, 2024 20:18 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version