D
D
Djan922019-06-07 10:28:22
Bootstrap
Djan92, 2019-06-07 10:28:22

How to change :focus color to your own when using bootstrap4?

There are inputs, and when you click on them, the bootstrap assigns their classes to them (blue stroke, etc.), but you need to make your styles work. Your css file is connected after boostrap, that's not the problem.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Valery, 2019-06-07
@Desay

!important

E
Egor Dovydenko, 2019-06-07
@Doktorjd

Pull the bootstrap style file locally, not via the Internet. And in it already change what you need.

N
NaN, 2019-06-07
@KornevaViktoria

How are bootstrap styles connected?
1) First, we define the bootstrap variables (if necessary)
2) We connect the bootstrap
3) We redefine the bootstrap styles (not only on the bootstrap classes, but write our own classes and new properties on them)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question