Range bar with indicator

Developer
Size
3,312 Kb
Views
28,336

How do I make an range bar with indicator?

What is a range bar with indicator? How do you make a range bar with indicator? This script and codes were developed by Nick Nikolov on 17 October 2022, Monday.

Range bar with indicator Previews

Range bar with indicator - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Range bar with indicator</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ html { font-size: 14px; font-family: Arial, sans-serif;
}
.range-gauge { padding: 50px 20px;
}
.range-bar { height: 10px; background: #ddd; position: relative;
}
.range-bar .bar { background: blue; width: 20px; position: absolute; top: 0; bottom: 0; opacity: 0.7; border-left: 1px solid #ddd; border-right: 1px solid #ddd;
}
.range-bar .bar .labels { table-layout: fixed; margin-top: 10px; width: 100%; display: table; font-size: 70%;
}
.range-bar .bar .labels > span { display: table-cell; text-align: center; line-height: 100%; padding: 3px;
}
.range-bar .bar .labels > span:first-child { text-align: left;
}
.range-bar .bar .labels > span:last-child { text-align: right;
}
.range-bar .bar:hover { opacity: 1;
}
.range-bar .gauge-bubble { width: 100px; margin-left: -50px; position: absolute; text-align: center; bottom: 100%; padding: 6px 0;
}
.range-bar .gauge-bubble .lbl { padding: 5px; border-radius: 5px; line-height: 100%; text-align: center; display: inline-block; background: blue; color: white;
}
.range-bar .gauge-bubble .lbl small { text-transform: uppercase; font-size: 0.6rem;
}
.range-bar .gauge-bubble .lbl:after { position: absolute; bottom: 0; left: 50%; margin-left: -8px; display: block; content: ''; width: 0; height: 0; border-style: solid; border-width: 6px 8px 0 8px; border-color: blue transparent transparent transparent;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="range-gauge"> <div class="range-bar"> <div class="gauge-bubble" style="left:30%"> <div class="lbl"> <div> <b>	$55.00</b> </div> <small>Current Price</small> </div> </div> <div class="bar" style="left:0%;width:100%;background-color:blue"> <div class="labels"> <span>Min</span> <span>Max</span> </div> </div> <div class="bar" style="left:10%;width:50%;background-color: red"></div> </div>
</div> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script>
</body>
</html>

Range bar with indicator - Script Codes CSS Codes

html { font-size: 14px; font-family: Arial, sans-serif;
}
.range-gauge { padding: 50px 20px;
}
.range-bar { height: 10px; background: #ddd; position: relative;
}
.range-bar .bar { background: blue; width: 20px; position: absolute; top: 0; bottom: 0; opacity: 0.7; border-left: 1px solid #ddd; border-right: 1px solid #ddd;
}
.range-bar .bar .labels { table-layout: fixed; margin-top: 10px; width: 100%; display: table; font-size: 70%;
}
.range-bar .bar .labels > span { display: table-cell; text-align: center; line-height: 100%; padding: 3px;
}
.range-bar .bar .labels > span:first-child { text-align: left;
}
.range-bar .bar .labels > span:last-child { text-align: right;
}
.range-bar .bar:hover { opacity: 1;
}
.range-bar .gauge-bubble { width: 100px; margin-left: -50px; position: absolute; text-align: center; bottom: 100%; padding: 6px 0;
}
.range-bar .gauge-bubble .lbl { padding: 5px; border-radius: 5px; line-height: 100%; text-align: center; display: inline-block; background: blue; color: white;
}
.range-bar .gauge-bubble .lbl small { text-transform: uppercase; font-size: 0.6rem;
}
.range-bar .gauge-bubble .lbl:after { position: absolute; bottom: 0; left: 50%; margin-left: -8px; display: block; content: ''; width: 0; height: 0; border-style: solid; border-width: 6px 8px 0 8px; border-color: blue transparent transparent transparent;
}
Range bar with indicator - Script Codes
Range bar with indicator - Script Codes
Home Page Home
Developer Nick Nikolov
Username necks
Uploaded October 17, 2022
Rating 3
Size 3,312 Kb
Views 28,336
Do you need developer help for Range bar with indicator?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Nick Nikolov (necks) Script Codes
Create amazing love letters with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!