Logo Logo v2.0
Image Description Image Description

No Results

  • Get Support
  • Preview Demo
Logo Logo v2.0
  • Documentation
  • Introduction
  • Getting started
  • Getting Started
  • Gulp
  • Dark Mode New
  • Customization
  • Credits
  • Changelog
  • Design & Graphics
  • Bootstrap Icons
  • Illustrations
  • Components
  • Accordion
  • Alerts
  • Avatars
  • Badge
  • Breadcrumb
  • Buttons
  • Button Group
  • Cards
  • Collapse
  • Column Divider
  • Devices
  • Divider
  • Dropdowns
  • Icons
  • List Group
  • Lists
  • Legend Indicator
  • Modal
  • Offcanvas
  • Page Header
  • Pagination
  • Popovers
  • Progress
  • Profile
  • Shapes
  • Sliding Image
  • Spinners
  • Steps
  • Tab
  • Toasts
  • Tooltips
  • Typography
  • Navbars
  • Navbar
  • Navs
  • Mega Menu
  • Navbar Vertical Aside
  • Scrollspy
  • Tables
  • Tables
  • Datatables
  • Sticky Header
  • Basic forms
  • Basic Forms
  • Checks & Switches
  • Input Group
  • Advanced Forms
  • Advanced Select
  • Datepicker (Flatpickr)
  • Date Range Picker
  • Calendar (Fullcalendar)
  • File Attachments
  • Drag’ n’ Drop File Uploads
  • WYSIWYG Editor
  • Quantity Counter
  • Copy to Clipboard
  • Input Mask
  • Step Forms (Wizards)
  • Add Field
  • Toggle Password
  • Count Characters
  • Form Search
  • Toggle Switch
  • Google reCAPTCHA
  • Charts
  • Chart.js
  • Counter
  • Circles.js (Pie Chart)
  • Others
  • Fullscreen Lightbox
  • Leaflet
  • JSVectorMap
  • SortableJS
  • Sticky Block
  • Go To
  • Utilities
  • Backgrounds
  • Borders
  • Colors
  • Links
  • Position
  • Shadows
  • Sizing
  • Spacing
  • Z-index
  • Opacity

Borders

Use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element.

Bootstrap Borders documentation

Additive

  • Preview
  • HTML
              
                <span class="border"></span>
                <span class="border-top"></span>
                <span class="border-right"></span>
                <span class="border-bottom"></span>
                <span class="border-left"></span>
              
            

Subtractive

  • Preview
  • HTML
              
                <span class="border-0"></span>
                <span class="border border-top-0"></span>
                <span class="border border-right-0"></span>
                <span class="border border-bottom-0"></span>
                <span class="border border-left-0"></span>
              
            

Border color

Change the border color using utilities built on our theme colors.

  • Preview
  • HTML
              
                <span class="border border-primary"></span>
                <span class="border border-secondary"></span>
                <span class="border border-success"></span>
                <span class="border border-danger"></span>
                <span class="border border-warning"></span>
                <span class="border border-info"></span>
                <span class="border border-light"></span>
                <span class="border border-dark"></span>
                <span class="border border-white"></span>
                <span class="border border-white-10"></span>
              
            

Border width

  • Preview
  • HTML
              
                <span class="border border-1"></span>
                <span class="border border-2"></span>
                <span class="border border-3"></span>
                <span class="border border-4"></span>
                <span class="border border-5"></span>
              
            

Border radius

Add classes to an element to easily round its corners.

  • Preview
  • HTML
Example non-rounded image Example top rounded image Example right rounded image Example bottom rounded image Example left rounded image Completely round image Example pilled image
              
                <img class="img-fluid rounded" src="../assets/img/160x160/img1.jpg" alt="Example non-rounded image" />
                <img class="img-fluid rounded-top" src="../assets/img/160x160/img1.jpg" alt="Example top rounded image" />
                <img class="img-fluid rounded-right" src="../assets/img/160x160/img1.jpg" alt="Example right rounded image" />
                <img class="img-fluid rounded-bottom" src="../assets/img/160x160/img1.jpg" alt="Example bottom rounded image" />
                <img class="img-fluid rounded-left" src="../assets/img/160x160/img1.jpg" alt="Example left rounded image" />
                <img class="img-fluid rounded-circle" src="../assets/img/160x160/img1.jpg" alt="Completely round image" />
                <img class="img-fluid rounded-pill" src="../assets/img/documentation/img7.jpg" alt="Example pilled image" />
              
            

Sizes

Use the scaling classes for larger or smaller rounded corners. Sizes range from 0 to 3, and can be configured by modifying the utilities API.

  • Preview
  • HTML
Example non-rounded image Example small rounded image Example default rounded image Example large rounded image
              
                <img class="img-fluid rounded-0" src="../assets/img/160x160/img1.jpg" alt="Example non-rounded image" />
                <img class="img-fluid rounded-1" src="../assets/img/160x160/img1.jpg" alt="Example small rounded image" />
                <img class="img-fluid rounded-2" src="../assets/img/160x160/img1.jpg" alt="Example default rounded image" />
                <img class="img-fluid rounded-3" src="../assets/img/160x160/img1.jpg" alt="Example large rounded image" />