Css content using TailwindCSS

Viewed 159

I'm struggling to transform the following code snippet to use Tailwind css but without success so far.

Original code:

<li>
   <Link to="/test">abc</Link>
</li>

css:

ol li:not(:last-child)::after {
  color: red;
  margin: 0 10px;
  content: '/';
}

Is there a way to get rid of the css file and put all those rules in tailwind? The part with that content, /, seems impossible.

1 Answers
Related