@use 'sass:math';

$a: 120deg;
$u: .125em;
$d: 12*$u;

html {
	height: 100%;
	background: linear-gradient(120deg, 
		#000 $u, 
		#0092b7 0 calc(50% - #{$u}), 
		#000 0 calc(50% + #{$u}), 
		#0092b7 0 calc(100% - #{$u}), 
		#000 0);
	background-size: $d*math.abs(math.cos($a)) $d*math.abs(math.sin($a));
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.