How to create predefined alert with Bootstrap

1 Answer

0 votes
<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet"
        href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
  
<body>
  
<div class="container">
  <h2>Alerts</h2>
  <div class="alert alert-success">
    <strong>Success!</strong> Success
  </div>
  <div class="alert alert-info">
    <strong>Info!</strong> Info
  </div>
  <div class="alert alert-danger">
    <strong>Danger!</strong> Danger
  </div>
  <div class="alert alert-warning">
    <strong>Warning!</strong> Warning
  </div>
</div>
  
</body>
</html>

 



answered Jul 9, 2017 by avibootz

Related questions

...