I am trying to give blue colors to border-left in tailwind css
I tried to write codes as border-l-8-blue
however, it is a wrong code and it never works.
Here is my question, is there any ways to solely give colors to border-left??
instead of giving colors to all borders like border-gray
CodePudding user response:
Remember to add border width
<div ></div>
CodePudding user response:
border-l-blue
actually works and what I made it wrong is tried to combine border-l-blue
with border-l-8
in one line as border-l-blue-8
.
CodePudding user response:
To get border only to left side, use below syntax
<div >text</div>
You can refer official Tailwind Documentation
CodePudding user response:
To get the border only to the left side, use the below code in you Tailwind HTML
<div ></div>