// Colors
$bg-color: hsl(0,0,0);
$triangle-color: hsl(255,255,255);
// Dimensions
$triangle-size: 15px;
body {
background:
linear-gradient(-45deg, $triangle-color ($triangle-size / 2), transparent 1%),
$bg-color;
background-size: $triangle-size $triangle-size;
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.