Victoria
Victoria

Reputation: 335

Angular Global CSS styles Issue

I created a an Angular project and I cannot set properly the Bootstrap downloaded css styles. Even if I followed some instructions: https://www.tektutorialshub.com/angular/angular-global-css-styles/

Styles downloaded from: https://bootstrapmade.com/laura-free-creative-bootstrap-theme/

enter image description here

It was supposed to look like a nav-bar:

enter image description here

Upvotes: 0

Views: 189

Answers (1)

Marc
Marc

Reputation: 1886

Please try to put the bootstrap stuff (js, base and theme css) in the header of your index.html

    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

    <script src="assets/js/main.js"></script>
    <link rel="stylesheet" href="assets/css/style.css">
</header>

Upvotes: 1

Related Questions