My challenge lies in maintaining the style of a range input while disabling user interaction with it. I've tried to recreate the original styling manually, but without success:
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="35575a5a41464147544575001b061b07">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous" />
</head>
<body>
<div class="container mb-4 col-sm-5">
<input type="range" class="custom-range" min="0" max="10" value="10" id="range-input" style="width: 100%" disabled>
</div>
</body>
</html>
I want to achieve the same look as the enabled range, even when it is disabled like the one shown in the example image:
https://i.stack.imgur.com/O64Bn.png
In my research, I have not found any other feasible solution to this problem.