Skip to content

Instantly share code, notes, and snippets.

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

Kendall Totten starryeyez024

🏠
Working from home
View GitHub Profile
@starryeyez024
starryeyez024 / input.scss
Created October 9, 2021 22:07
Generated by SassMeister.com.
.cont {
width: 500px;
display: grid;
grid-template-columns: 50px 1fr 2fr;
}
.foo {
display: block;
background: yellow;
border: red solid 1px;
}
@starryeyez024
starryeyez024 / input.scss
Last active January 27, 2021 20:37
Generated by SassMeister.com.
@import "breakpoint";
@mixin clearfix($type: standard) {
&::after {
clear: both;
@if $type == standard {
content: "";
display: table;
} @else if $type == inline {
content: " ";
@starryeyez024
starryeyez024 / input.scss
Last active January 27, 2021 20:20
Generated by SassMeister.com.
$breakpoint-zero: 0;
$breakpoint-xs-min: 480px;
$breakpoint-sm-min: 768px;
$breakpoint-md-min: 992px;
$breakpoint-lg-min: 1200px;
$breakpoint-xxs-max: $breakpoint-xs-min - 1;
$breakpoint-xs-max: $breakpoint-sm-min - 1;
$breakpoint-sm-max: $breakpoint-md-min - 1;
$breakpoint-md-max: $breakpoint-lg-min - 1;
@starryeyez024
starryeyez024 / input.scss
Last active January 27, 2021 19:00
Generated by SassMeister.com.
.container {
max-width: 1200px;
margin: auto;
display: flex;
flex-direction: row;
}
article {
padding: 20px;
background: yellow;
flex-grow: 1;
@starryeyez024
starryeyez024 / input.scss
Created January 14, 2021 03:57
Generated by SassMeister.com.
div {
display: flex;
}
svg {
width: 300px;
}
@starryeyez024
starryeyez024 / input.scss
Created January 14, 2021 03:55
Generated by SassMeister.com.
div {
display: flex;
}
svg {
width: 300px;
}
@starryeyez024
starryeyez024 / input.scss
Created September 22, 2020 01:21
Generated by SassMeister.com.
body {
margin: 40px;
}
*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.box {
background-color: #444;
@starryeyez024
starryeyez024 / SassMeister-input.scss
Created August 21, 2020 14:27
Generated by SassMeister.com.
// ----
// Sass (vundefined)
// Compass (vundefined)
// dart-sass (v1.18.0)
// ----
@import "color-helpers";
// PF CORE vars
$pfelements--red: #e00;
@starryeyez024
starryeyez024 / values-of-broadcast-vars-on-saturated.scss
Created August 17, 2020 03:05
Values of broadcast variables on saturated context
:host([on=saturated]) {
--pfe-broadcasted--text: #fff;
--pfe-broadcasted--link: #fff;
--pfe-broadcasted--link--hover: #fff;
--pfe-broadcasted--link--focus: #fff;
}
@starryeyez024
starryeyez024 / set-context.scss
Created August 17, 2020 02:52
Set PFE context
:host([pfe-color="accent"]) {
--pfe-card--BackgroundColor: #004080;
--theme: saturated; // in the future, this will be --context
}