JSFiddle - React, Tailwind, and code Playground
by jorgeluis
HTML
<div class="level-1">
Some indent with multiple lines
</div>
<div class="level-2">
Some indent with multiple lines
</div>
CSS
div {
padding: 1rem;
}
.level-1 {
background-image:
linear-gradient(
to right,
#ccc,
transparent 1px
);
}
.level-2 {
background-image:
linear-gradient(
to right,
#ccc,
transparent 1px,
transparent 20px,
#ccc 20px,
transparent 21px
);
}
}