JSFiddle - React, Tailwind, and code Playground

HTML

<div class="test"></div>

SCSS

@mixin gradient($start-color, $end-color, $orientation) {
	background: $start-color;
	@if $orientation == 'vertical' {
		background: -moz-linear-gradient(top,  $start-color 0%, $end-color 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, $start-color), color-stop(100%, $end-color)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  $start-color 0%, $end-color 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  $start-color 0%, $end-color 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  $start-color 0%, $end-color 100%); /* IE10+ */
		background: linear-gradient(to bottom,  $start-color 0%, $end-color 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=$start-color, endColorstr=$end-color,GradientType=1 ); /* IE6-9 */
	} @else if $orientation == 'horizontal' {
		background: -moz-linear-gradient(left,  $start-color 0%, $end-color 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, right top, color-stop(0%, $start-color), color-stop(100%, $end-color)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(left,  $start-color 0%, $end-color 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(left,  $start-color 0%, $end-color 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(left,  $start-color 0%, $end-color 100%); /* IE10+ */
		background: linear-gradient(to right,  $start-color 0%, $end-color 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=$start-color, endColorstr=$end-color,GradientType=0 ); /* IE6-9 */
	} @else {
		background: -moz-radial-gradient(center, ellipse cover, $start-color 0%, $end-color 100%); /* FF3.6+ */
		background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, $start-color), color-stop(100%, $end-color)); /* Chrome,Safari4+ */
		background: -webkit-radial-gradient(center, ellipse cover,...