I encountered an issue with a Bootstrap progress bar that is causing conflicts with my CSS. I am attempting to move the CSS to a separate stylesheet instead of embedding it in my ejs file. However, when I try to link it using
<link href="/views/stylesheet.css" rel="stylesheet">
, it doesn't work and I end up losing my styling.
Although I don't think it matters, this is the part of code that is overriding my css
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css" integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rV" crossorigin="anonymous">
This is my current file structure
Views |_Index.ejs, stylesheet.css, template.ejs
The issue is taking place within my index.ejs file, and not on the node backend (not listed in the file structure)
Finally, here is the code for my progress bar:
<div id="loadingcontainer">
<div class="progress" style="height: 5px;">
<div id="myprogress" class="progress-bar" style="color:#EB7051;" style="background-color: #ffffff" role="progressbar" style="width: 25%;" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>