Answers for "bg dark 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
3

bootstrap 4 text color

<p class="text-primary">Text with primary color</p>
<p class="text-secondary">Text with secondary color</p>
<p class="text-success">Text with success color</p>
<p class="text-danger">Text with danger color</p>
<p class="text-warning">Text with warning color</p>
<p class="text-info">Text with info color</p>
<p class="text-light bg-dark">Text with light color</p>
<p class="text-dark">Text with dark color</p>
<p class="text-muted">Text with muted color</p>
<p class="text-white bg-dark">Text with white color</p>
Posted by: Guest on September-02-2020
-1

bootstrap bg colors

<p><a href="#" class="text-primary">Primary link</a></p>
<p><a href="#" class="text-secondary">Secondary link</a></p>
<p><a href="#" class="text-success">Success link</a></p>
<p><a href="#" class="text-danger">Danger link</a></p>
<p><a href="#" class="text-warning">Warning link</a></p>
<p><a href="#" class="text-info">Info link</a></p>
<p><a href="#" class="text-light bg-dark">Light link</a></p>
<p><a href="#" class="text-dark">Dark link</a></p>
<p><a href="#" class="text-muted">Muted link</a></p>
<p><a href="#" class="text-white bg-dark">White link</a></p>
Posted by: Guest on September-01-2020
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

Browse Popular Code Answers by Language