Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the color of a bootstrap button
Message
From
25/12/2016 11:52:44
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
24/12/2016 17:17:37
General information
Forum:
PHP
Category:
Other
Miscellaneous
Thread ID:
01646032
Message ID:
01646062
Views:
22
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform