Answers for "css can't override bootstrap"

CSS
7

bootstrap override css

<!---------------- How do I override Bootstrap CSS? ------------------->

If your custom styles are not overriding the bootstrap styles, all you 
need to do is move the link to your custom stylesheet to a line after 
the bootstrap link:

<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">

This means that you first load the default bootstrap styles, then you 
can override some of those components with your own custom CSS.
Posted by: Guest on August-10-2020
0

css can't override bootstrap

1) Add the link to css after link to bootstrap
2) or, use inline css
Posted by: Guest on May-30-2020

Code answers related to "css can't override bootstrap"

Browse Popular Code Answers by Language