Borders
- Utilities
- Borders
Borders
<div className="box-body">
<span className="border dark:border-defaultborder/10 border-container"></span>
<span className="border-t dark:border-defaultborder/10 border-container"></span>
<span className="border-e dark:border-defaultborder/10 border-container"></span>
<span className="border-b dark:border-defaultborder/10 border-container"></span>
<span className="border-s dark:border-defaultborder/10 border-container"></span>
</div>
Remove Border
<div className="box-body">
<span className="border-0 border-container"></span>
<span className="border dark:border-defaultborder/10 border-t-0 border-container"></span>
<span className="border dark:border-defaultborder/10 border-e-0 border-container"></span>
<span className="border dark:border-defaultborder/10 border-b-0 border-container"></span>
<span className="border dark:border-defaultborder/10 border-s-0 border-container"></span>
</div>
Border Widths
<div className="box-body">
<span className="border-1 dark:border-defaultborder/10 border-container"></span>
<span className="border-container dark:border-defaultborder/10 border-2"></span>
<span className="border-container dark:border-defaultborder/10 border-4"></span>
<span className="border-container dark:border-defaultborder/10 border-8"></span>
</div>
Border Colors
<div className="box-body">
<span className="border border-container !border-primary"></span>
<span className="border border-container !border-secondary"></span>
<span className="border border-container !border-success"></span>
<span className="border border-container !border-danger"></span>
<span className="border border-container !border-warning"></span>
<span className="border border-container !border-info"></span>
<span className="border border-container !border-light"></span>
<span className="border border-container !border-black"></span>
<span className="border border-container !border-white"></span>
</div>
Border Color Styling
Below Shows Danger Border
Customizing borders with backgrounud colors
<div className="box-body">
<div className="mb-4">
<label htmlFor="exampleFormControlInput1"className="form-label">
Email address</label>
<input type="email" className="form-control w-full !rounded-md
!border-success" id="exampleFormControlInput1" placeholder="[email protected]" />
</div><div className="h4 pb-4 mb-4 text-danger border-b !border-danger">
Below Shows Danger Border
</div>
<div className="p-4 bg-info/10 border !border-info
!border-s-0 rounded-e-md mb-1"> Customizing borders with backgrounud colors</div>
</div>
Border With Opacity
This is default success border
This is 75% opacity success border
This is 50% opacity success border
This is 25% opacity success border
This is 10% opacity success border
<div className="box-body">
<div className="border border-black dark:border-white p-2 mb-2">
This is default success border
</div>
<div className="border border-black/75 dark:border-white/75 p-2 mb-2">
This is 75%opacity success border</div>
<div className="border border-black/50 dark:border-white/50 p-2 mb-2">
This is 50% opacity success border</div>
<div className="border border-black/25 dark:border-white/25 p-2 mb-2">
This is 25% opacity success border</div>
<div className="border border-black/10 dark:border-white/10 p-2">
This is 10% opacity success border</div>
</div>
Border Radius
<div className="box-body flex flex-wrap gap-2">
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-md" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-t-md" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-e-md" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-b-md" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-s-md" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-full" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-full" alt="..." />
</div>
Sizes
<div className="box-body flex flex-wrap gap-2">
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-none" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-sm" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-md" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-lg" alt="..." />
<img src="../../../assets/images/media/media-58.jpg"
className="bd-placeholder-img rounded-xl" alt="..." />
</div>