Answers for "changing colors in 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
1

bootstrap color variants

/* colors in bootstrap */
color : #007bff; /* primary */
color : #6c757d; /* secondary */
color : #28a745; /* success */
color : #ffc107; /* warning */
color : #dc3545; /* danger */
color : #17a2b8; /* info */
color : #f8f9fa; /* light */
color : #343a40; /* dark */
Posted by: Guest on May-18-2021

Browse Popular Code Answers by Language