Border

Border of your HTML element

Syntax

```other code in syntax file
   border : "b",
```

Border

To give the border to your HTML element

There are majorly 5 types of border with colors

  • .b-{..color..} To give border in all direction (top,bottom,left,right)

  • .bt-{..color..} To give border in top direction

  • .bb-{..color..} To give border in bottom direction

  • .bl-{..color..} To give border in left direction

  • .br-{..color..} To give border in right direction

Examples

<p class="b-dark mg-y-1">Border</p>
<p class="bt-primary mg-y-1">Border-Top</p>
<p class="bb-alert mg-y-1">Border-Bottom</p>
<p class="bl-yellow mg-y-1">Border-Left</p>
<p class="br-leaf mg-y-1">Border-Right</p>

Last updated