Answers for "bg-warning bootstrap"

47

bootstrap text color

<p class="text-primary">.text-primary</p>
<p class="text-secondary">.text-secondary</p>
<p class="text-success">.text-success</p>
<p class="text-danger">.text-danger</p>
<p class="text-warning">.text-warning</p>
<p class="text-info">.text-info</p>
<p class="text-light bg-dark">.text-light</p>
<p class="text-dark">.text-dark</p>
<p class="text-muted">.text-muted</p>
<p class="text-white bg-dark">.text-white</p>
Posted by: Guest on March-20-2020
8

bootstrap background color

<div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
<div class="p-3 mb-2 bg-info text-white">.bg-info</div>
<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
Posted by: Guest on July-17-2020
1

bootstrap background color

<div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
<div class="p-3 mb-2 bg-info text-dark">.bg-info</div>
<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
<div class="p-3 mb-2 bg-body text-dark">.bg-body</div>
<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
<div class="p-3 mb-2 bg-transparent text-dark">.bg-transparent</div>
Posted by: Guest on September-02-2021
2

Bootstrap Text Colors Example

<p class="text-primary">It's primary text message</p>
        <p class="text-secondary">It's secondary text message</p>
        <p class="text-success">It's success text message</p>
        <p class="text-danger">It's danger text message</p>
        <p class="text-warning">It's warning text message</p>
        <p class="text-info">It's info text message</p>
        <p class="text-light bg-dark">It's light text message</p>
        <p class="text-dark">It's dark text message</p>
        <p class="text-muted">It's muted text message</p>
Posted by: Guest on May-30-2021
2

change bootstrap background color

<style type="text/css">
   body { background: navy !important; } /* Adding !important forces the browser to overwrite the default style applied by Bootstrap */
</style>
Posted by: Guest on July-25-2020
4

bootstrap color a div

use something like :
<div class="container alert alert-success">
   <div class="row">
      <div class="col">I'm your content inside the grid!</div>
   </div>
</div>
Posted by: Guest on March-15-2020

Browse Popular Code Answers by Language