Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the color of a bootstrap button
Message
De
25/12/2016 11:52:44
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
24/12/2016 17:17:37
Information générale
Forum:
PHP
Catégorie:
Autre
Divers
Thread ID:
01646032
Message ID:
01646062
Vues:
23
>Is it possible to change the color a bootstrap button if a condition exists?
>If so, can you please post some sample code?

Not clear if you want change the color at run time or while rendering the html. In either case, there are several classes built into bootstrap to change the color. If that is not what you want then you can always create your own classes to override the bootstrap classes. Jquery makes it easy to change at run time or in php you just us a condition to apply the appropriate class.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform