Styled slider
How do I make an styled slider?
What is a styled slider? How do you make a styled slider? This script and codes were developed by Jeplaa on 01 October 2022, Saturday.
Styled slider - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Styled slider</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel='stylesheet prefetch' href='http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <output id="volume">25%</output>
<div class="content"> <input type="range" value="25">
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Styled slider - Script Codes CSS Codes
/* Best result in Webkit Browser */
@import url('https://fonts.googleapis.com/css?family=Raleway:400,300');
html { background: rgba(0, 0, 0, 0.8) url( "http://oi64.tinypic.com/i3zbs7.jpg" ); }
#volume
{ position: absolute; top: 25px; left: 0; right: 0; text-align: center; font: 400 40px 'Raleway', sans-serif; color: #8A8A8A;
}
.content
{ position: relative; top: 100px; width: 350px; margin: 0 auto;
}
input[type="range"]
{ -webkit-appearance: none !important; -moz-appearance: none !important; -ms-appearance: none !important; -o-appearance: none !important; appearance: none !important; width: 350px; height: 17px; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.15, #444444), color-stop(0.85, #222222)); background-image: -moz-gradient(linear, left bottom, left top, color-stop(0.15, #444444), color-stop(0.85, #222222)); background-image: -ms-gradient(linear, left bottom, left top, color-stop(0.15, #444444), color-stop(0.85, #222222)); background-image: -o-gradient(linear, left bottom, left top, color-stop(0.15, #444444), color-stop(0.85, #222222)); background-image: gradient(linear, left bottom, left top, color-stop(0.15, #444444), color-stop(0.85, #222222)); outline: none; border: 0; border-radius: 20px; cursor: pointer;
}
input[type='range']::-webkit-slider-thumb
{ -webkit-appearance: none !important; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.15, #8A8A8A), color-stop(0.85, #585858)); height: 17px; width: 100px; border-radius: 20px;
}
input[type='range']::-moz-slider-thumb
{ -webkit-appearance: none !important; background-image: -moz-gradient(linear, left bottom, left top, color-stop(0.15, #8A8A8A), color-stop(0.85, #585858)); height: 17px; width: 100px; border-radius: 20px;
}
input[type="range"]:before
{ position: absolute; content: '\f104'; font: 17px 'FontAwesome'; float: left; left: -15px; top: 1px; color: #8A8A8A;
}
input[type="range"]:after
{ position: absolute; content: '\f105'; font: 17px 'FontAwesome'; float: right; right: -17px; top: 1px; color: #8A8A8A;
}
Styled slider - Script Codes JS Codes
$( "input" ).on( "change mousemove", function()
{ var value = $( this ).val(); $( "#volume" ).text( value + "%" );
});
Developer | Jeplaa |
Username | Jeplaa |
Uploaded | October 01, 2022 |
Rating | 3.5 |
Size | 2,346 Kb |
Views | 18,216 |
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!
Name | Size |
Steam Community Profile Concept | 4,050 Kb |
SteamBot page - WIP | 1,516 Kb |
Simple Filter | 1,655 Kb |
Universe | 3,800 Kb |
Animated Boxes | 2,349 Kb |
Simple Flat Menu | 2,467 Kb |
Drawing with Canvas | 2,694 Kb |
Particles | 2,240 Kb |
Dropdown Menu UI | 2,523 Kb |
Steam Game Servers | 1,911 Kb |
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!
Name | Username | Size |
A Pen by Mohomed Anees | Mohomedanees | 12,597 Kb |
Matrix | Stathisnikolaidis | 1,922 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
Shopping cart | Andiio | 6,581 Kb |
Lazy Load for Background Images | The_ruther4d | 2,977 Kb |
Collapsing Widget | Er40 | 4,279 Kb |
Arrow Navigation | Hinducows | 1,973 Kb |
Gradients | Karpovsystems | 2,394 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
A Pen by aleen42 | Aleen42 | 11,473 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!