Zaeem Khaliq
Zaeem Khaliq

Reputation: 306

How to change background color of dropdown button (Vue Bootstrap)

I am unable to change background color of dropdown button by any means. I've tried with ID, with removing its class and writing my own class and overriding by using !important but the background color is not changing. The button is not actually there in the code. But it is appearing in the DOM with class '.btn-secondary'.

Please suggest ways to change it. I want this color:-

.btn-secondary {
    background-color: #ff3838;
}

Here is the link:-

https://jsfiddle.net/94quwf6r/2/

Upvotes: 1

Views: 838

Answers (1)

kissu
kissu

Reputation: 46602

Working great so far. Don't forget to press Run on the top left of the page for it to take your changes into account (it is not auto-refreshing).

enter image description here

Upvotes: 1

Related Questions