• Call Us: 0111 222 333
  • Mail: info@domain.com
  • Register
Login
p-opt.com
  • Home
    • Colors
      • Turquoise - Nivo Slider
      • Chocolate - Flex Slider
      • Dodger Blue - Bx Slider
      • Aqua Blue
      • Green
      • Olive Green
      • Slate Gray
      • Red
      • Purple
    • Headers
      • Header1 - RightMenu
      • Header2 - CenterMenu
      • Header3 - LeftMenu
      • Header4 - NoTopbar
    • Home Version 1
    • Home Version 2
    • Home Version 3
  • Mega Menu
    • BoxedVersion
    • BoxedInner Page
    • Demo Menu
  • Pages
    • Left Side Pages
    • Right Side Pages
    • About Us
    • Meet the Team
    • Coming Soon
    • Pricing Table
    • Services
    • Career
    • FAQ
    • Our Office
    • 404 Page
    • Blank Pages
  • Shortcodes
    • Pane Layouts
      • Home Page Layouts
      • Left Side Layouts
      • Right Side Layouts
    • Bootstrap Componentes
      • Global settings
      • Typography
      • Button groups
      • Buttons
      • Code
      • Progress bars
      • Icon glyphs
      • Images
      • Pagination
      • Alerts
      • Tables
    • Accordion
    • Carousel
    • Portfolio
    • Testimonials
    • Font Awesome Icons
    • Media object
    • Dividers & Gaps
    • Highlighted Text
    • Teasers
    • Promo Box
    • Video Shortcode
  • Sliders
    • Responsive Nivo Slider
    • Responsive Flex Slider
    • Responsive Bx Slider
  • Containers
    • Turquoise Container
    • Chocolate Container
    • Dodgerblue Container
    • Green Container
    • Aqua Blue Container
    • Olivegreen Container
    • Orange Container
    • Purple Container
    • Red Container
    • Slategray Container
  • Contact Us
Go to...
  • Home
    • Colors
      • Turquoise - Nivo Slider
      • Chocolate - Flex Slider
      • Dodger Blue - Bx Slider
      • Aqua Blue
      • Green
      • Olive Green
      • Slate Gray
      • Red
      • Purple
    • Headers
      • Header1 - RightMenu
      • Header2 - CenterMenu
      • Header3 - LeftMenu
      • Header4 - NoTopbar
    • Home Version 1
    • Home Version 2
    • Home Version 3
  • Mega Menu
    • BoxedVersion
    • BoxedInner Page
    • Demo Menu
  • Pages
    • Left Side Pages
    • Right Side Pages
    • About Us
    • Meet the Team
    • Coming Soon
    • Pricing Table
    • Services
    • Career
    • FAQ
    • Our Office
    • 404 Page
    • Blank Pages
  • Shortcodes
    • Pane Layouts
      • Home Page Layouts
      • Left Side Layouts
      • Right Side Layouts
    • Bootstrap Componentes
      • Global settings
      • Typography
      • Button groups
      • Buttons
      • Code
      • Progress bars
      • Icon glyphs
      • Images
      • Pagination
      • Alerts
      • Tables
    • Accordion
    • Carousel
    • Portfolio
    • Testimonials
    • Font Awesome Icons
    • Media object
    • Dividers & Gaps
    • Highlighted Text
    • Teasers
    • Promo Box
    • Video Shortcode
  • Sliders
    • Responsive Nivo Slider
    • Responsive Flex Slider
    • Responsive Bx Slider
  • Containers
    • Turquoise Container
    • Chocolate Container
    • Dodgerblue Container
    • Green Container
    • Aqua Blue Container
    • Olivegreen Container
    • Orange Container
    • Purple Container
    • Red Container
    • Slategray Container
  • Contact Us

Select the search type
  • Site
  • Web
Search
Alerts
Shortcodes / Bootstrap Componentes / Alerts

Alerts Styles for success, warning, and error messages

Default alert

Wrap any text and an optional dismiss button in .alert for a basic warning alert message.

Warning! Best check yo self, you're not looking too good.
<div class="alert">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
  <strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>

Options

For longer messages, increase the padding on the top and bottom of the alert wrapper by adding .alert-block.

Warning!

Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

<div class="alert alert-block">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
  <h4>Warning!</h4>
  Best check yo self, you're not...
</div>

Contextual alternatives

Add optional classes to change an alert's connotation.

Error or danger

Oh snap! Change a few things up and try submitting again.
<div class="alert alert-error">
  ...
</div>

Success

Well done! You successfully read this important alert message.
<div class="alert alert-success">
  ...
</div>

Information

Heads up! This alert needs your attention, but it's not super important.
<div class="alert alert-info">
  ...
</div>
© 2020 Pro Tech. Sandbox. All Rights Reserved. : Terms Of Use : Privacy Statement