Skip to content Skip to sidebar Skip to footer

Why My Css Is Not Working With Bootstrap ?

trying to run bootstrap on my project but its not working no styles appear on local host i have added cdnjs link to my index files. trying to setup navbar initially on project but

Solution 1:

If you're using bower, try adding the bootstrap dependency to your bower.json file as such:

"dependencies":{"angular":"~1.3.3","bootstrap":"~3.2.0"},

and add the following to your index.html file (<link> in head and <script> with your other script tags at the bottom):

<linkhref="bower_components/bootstrap/dist/css/bootstrap.css"rel="stylesheet"><scriptsrc="bower_components/bootstrap/dist/js/bootstrap.js"></script>

Don't forget to bower install in your directory!

Post a Comment for "Why My Css Is Not Working With Bootstrap ?"