- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Create a light-blue alert box that indicates some information with Bootstrap
Use the .alert-info class to create a light-blue alert box indicating some information.
You can try to run the following code to implement .alert-info class in Bootstrap −
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"> <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> </head> <body> <div class = "container"> <div class = "alert alert-info"> <p>Information!</p> <p>Add information here...</p> </div> </div> </body> </html>
- Related Articles
- Create a yellow color alert box that indicates caution in Bootstrap
- Create a green color alert box that indicates a positive action in Bootstrap
- Create a red color alert box that indicates a dangerous action in Bootstrap
- Create an alert message box with Bootstrap
- Create a red button that indicates danger in Bootstrap
- Add a light-blue label (set info) with Bootstrap
- Create a blue button (primary) with Bootstrap
- Add a fading effect when closing an alert box in Bootstrap
- Create a padded grey box with rounded corners in Bootstrap
- How I can replace a JavaScript alert pop up with a fancy alert box?
- How to create and apply CSS to JavaScript Alert box?
- Bootstrap alert class
- Contextual button for informational alert messages with Bootstrap
- Bootstrap alert-dismissable class
- Bootstrap alert-success class

Advertisements