Skip to content

Instantly share code, notes, and snippets.

View jasonmelgoza's full-sized avatar
🏠
Working from home

Jason Melgoza jasonmelgoza

🏠
Working from home
View GitHub Profile
@jasonmelgoza
jasonmelgoza / gist:6d26da32df455c4eed8be99187b405e3
Created March 18, 2024 19:08
Checking out support for css
.flex-container {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1em;
}
@supports not (gap: 1em) {
.flex-container {
margin: -0.5em;
%button-reset {
width: auto;
padding: 0;
margin: 0;
overflow: visible;
font: inherit;
line-height: normal;
color: inherit;
text-decoration: none;
text-transform: none;
@jasonmelgoza
jasonmelgoza / GIF-Screencast-OSX.md
Created February 22, 2021 20:40 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@jasonmelgoza
jasonmelgoza / input.scss
Created February 5, 2021 21:09
Generated by SassMeister.com.
// lists
$widths: 0, 1, 2, 3, 4;
@each $width in $widths {
.bw#{$width} {
border-width: #{$width}px !important;
}
}
@jasonmelgoza
jasonmelgoza / input.scss
Created February 5, 2021 21:06
Generated by SassMeister.com.
// lists
$directions: (
"t": top,
"r": right,
"b": bottom,
"l": left
);
// borders
.ba {
@jasonmelgoza
jasonmelgoza / input.scss
Created February 5, 2021 20:47
Generated by SassMeister.com.
//
// Spacing Utilities
//
// Spacing System
//
$space-unit: 4px;
$space-2xs: $space-unit; // 4px
@jasonmelgoza
jasonmelgoza / input.scss
Created January 27, 2021 16:33
Generated by SassMeister.com.
$gray-50: #999;
$gray-100: #888;
$gray-200: #777;
$gray-300: #666;
$gray-400: #555;
$gray-500: #444;
$gray-600: #333;
$gray-700: #222;
$gray-800: #111;
$gray-900: #000;
@jasonmelgoza
jasonmelgoza / input.scss
Created January 27, 2021 07:33
Generated by SassMeister.com.
$gray-50: #555;
$gray-100: #000;
$gray-200: #000;
$gray-300: #000;
$gray-400: #000;
$gray-500: #000;
$gray-600: #000;
$gray-700: #000;
$gray-800: #000;
$gray-900: #000;
@jasonmelgoza
jasonmelgoza / input.scss
Created September 30, 2020 15:57
Generated by SassMeister.com.
/// Flex sass mixin
///
/// // Example
/// .element {
/// @include flex($align-items: center, $justify-content: center);
/// }
///
/// // CSS Output
/// .element {
/// background-color: #664a20;
@jasonmelgoza
jasonmelgoza / input.scss
Created September 29, 2020 04:46
Generated by SassMeister.com.
//
// Spacing Utilities
//
// Spacing System
//
$space-unit: 4px;
$space-xxs: $space-unit; // 4px