Answers for "bootstrap colours to css"

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
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

Browse Popular Code Answers by Language