Skip to content

Instantly share code, notes, and snippets.

/*
* @supports
*/
#supportsCSSVariables {
display: none;
font-size: 70px;
font-family: monospace;
}
@julia-r
julia-r / dabblet.css
Last active March 23, 2018 10:43
Untitled
*{
/* set variable, needs to start with "--" */
--my-color: #009688;
}
.demo {
border: solid 5px var(--my-color);
box-shadow: 0 0 5px var(--my-color);
color: var(--my-color);
@julia-r
julia-r / dabblet.css
Last active March 16, 2018 14:44
Box arrangements
/**
* Box arrangements
*/
.container { }
.item {}
@julia-r
julia-r / dabblet.css
Last active March 16, 2018 14:40
Color Accessibility Example
/**
* Color Accessibility Example
*/
.contrast {
background-color: #585858;
color: #777575;
}
.red-green {
@julia-r
julia-r / dabblet.css
Last active March 23, 2018 10:41
Font example
/**
* Font example
*/
span {
font-family: 'Montserrat Alternates', sans-serif;
font-size: 80px;
font-weight: 400;
display: block;
}