Skip to content

Instantly share code, notes, and snippets.

View michael-letcher's full-sized avatar
🏠
Working from home

Michael Letcher michael-letcher

🏠
Working from home
View GitHub Profile
@michael-letcher
michael-letcher / breakpoint.scss
Created August 30, 2022 11:34
Breakpoint SCSS Module
$breakpoints: (
'xs': 599px,
'sm': 768px,
'md': 904px,
'lg': 1239px,
) !default;
/// Mixin to manage responsive breakpoints
/// @author Kitty Giraudel
/// @param {String} $breakpoint - Breakpoint name
@michael-letcher
michael-letcher / index.html
Last active August 26, 2018 23:56
CSS Grid Sub Grid Example (source http://jsbin.com/toqawavayo)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.container {
display: grid;