Is it possible to change the default blue color of a Bootstrap range slider? I have tried modifying it in this Fiddle, but I would prefer to change it to a Hex color like red. Can CSS be used to achieve this?
Below is my HTML code:
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet" />
<!-- Age Range Slider -->
<div class="col">
<div class="card mb-3" style="max-width: 21rem;">
<div class="card-body text-center">
<div class="d-flex flex-column">
<label for="age_slider" class="form-label"> Age</label>
<input class="slider" name="age_slider" id="age_slider" type="range" value="30" max="100" min="1" oninput="this.nextElementSibling.value = this.value">
<output>30</output>
</div>
</div>
</div>
</div>
My question has been linked to another similar one found here. However, the solution provided there did not work for me either.