I'm trying to create a border position
nomal css :
border-top: 10px solid transparent;
border-bottom: 10px solid black;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
how can i implement with tailwind css?
CodePudding user response:
Implement with tailwind css like this class
below:
<div ></div>
CodePudding user response:
Use the class as follows
<div ></div>
Here,
border-[10px]
meansborder: 10px;
border-solid
meansborder: solid;
border-transparent
meansborder: transparent ;
border-b-black
meansborder-bottom: black ;