JSFiddle - React, Tailwind, and code Playground
by ajthomascouk
HTML
<p>
Alex
</p>
SCSS
@mixin size($height: auto, $width: auto) {
height: $height;
width: $width;
}
@mixin position-left($position, $top, $left;) {
position: $position;
top: $top;
left: $left;
}
p {
border: 1px solid red;
@include size(100px, 50px);
@include position-left(absolute, 50px, 30px);
}