After defining the following HTML:
<ul class="steps d-flex">
<li class="step">Basic Details<div class="triangle triangle-right"></div></li>
</ul>
With this given CSS:
.steps li {
@extend .text-center;
position: relative;
overflow: hidden;
flex: 1 1;
align-items: center;
justify-content: center;
background: $grey-600;
}
The current appearance is like this:
https://i.sstatic.net/rrtix.png
I aim to create a triangle pointing towards the right of the div, similar to this setup:
https://i.sstatic.net/tdOXy.png
Note how the payment section has a triangle that seems to be indicating 'done'
How can I achieve this effect?