I recently came across a tutorial that teaches how to create a CSS ribbon. However, after following the tutorial, I found that the ribbon only appears on one side of the element. This has left me wondering if it's possible to have the ribbon display on both sides using the code provided in the tutorial. Perhaps I am misunderstanding the purpose of :before
and :after
. Could it be necessary to insert a <div>
on each side and target them separately?