Minimal input range styling (CSS only)

Size
3,137 Kb
Views
30,360

How do I make an minimal input range styling (css only)?

What is a minimal input range styling (css only)? How do you make a minimal input range styling (css only)? This script and codes were developed by Renaud Tertrais on 12 August 2022, Friday.

Minimal input range styling (CSS only) Previews

Minimal input range styling (CSS only) - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Minimal input range styling (CSS only)</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <section> <div> <h1>CSS3 minimal input range</h1> <input type="range" /> </div>
</section> <script src="js/index.js"></script>
</body>
</html>

Minimal input range styling (CSS only) - Script Codes CSS Codes

input[type=range] { box-sizing: border-box; font-size: 16px; line-height: 1; height: 2em; background-color: transparent; cursor: pointer; -webkit-appearance: none; width: 100%;
}
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none;
}
input[type=range]:focus { outline: none;
}
input[type=range]::-ms-track { width: 100%; cursor: pointer; background: transparent; border-color: transparent; color: transparent;
}
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 2em; height: 2em; margin-top: 0; background-color: #16a085; border-radius: 1em; border: 2px solid rgba(255, 255, 255, 0.5); cursor: pointer;
}
input[type=range]::-moz-range-thumb { width: 2em; height: 2em; margin-top: 0; background-color: #16a085; border-radius: 1em; border: 2px solid rgba(255, 255, 255, 0.5); cursor: pointer;
}
input[type=range]::-ms-thumb { width: 2em; height: 2em; margin-top: 0; background-color: #16a085; border-radius: 1em; border: 2px solid rgba(255, 255, 255, 0.5); cursor: pointer;
}
input[type=range]:hover::-webkit-slider-thumb { border-color: rgba(255, 255, 255, 0.7);
}
input[type=range]:hover::-moz-range-thumb { border-color: rgba(255, 255, 255, 0.7);
}
input[type=range]:hover::-ms-thumb { border-color: rgba(255, 255, 255, 0.7);
}
input[type=range]:active::-webkit-slider-thumb { border-color: #ffffff;
}
input[type=range]:active::-moz-range-thumb { border-color: #ffffff;
}
input[type=range]:active::-ms-thumb { border-color: #ffffff;
}
input[type=range]::-webkit-slider-runnable-track { width: 100%; cursor: pointer; height: 1em; border-bottom: 2px solid rgba(255, 255, 255, 0.5); background-color: transparent;
}
input[type=range]::-moz-range-track { width: 100%; cursor: pointer; height: 1em; border-bottom: 2px solid rgba(255, 255, 255, 0.5); background-color: transparent;
}
input[type=range]::-ms-track { background: transparent; border-color: transparent; color: transparent;
}
section { display: flex; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: #16a085;
}
section div { margin: auto; width: 80%;
}
section h1 { font-family: "Helvetica Neue", Helvetical, Arial, sans-serif; font-weight: 300; margin-bottom: 100px; text-align: center; font-size: 42px; color: rgba(0, 0, 0, 0.3);
}

Minimal input range styling (CSS only) - Script Codes JS Codes

/* Your princess is in another castel
__▒▒▒▒▒
—-▒▒▒▒▒▒▒▒▒
—–▓▓▓░░▓░
—▓░▓░░░▓░░░
—▓░▓▓░░░▓░░░
—▓▓░░░░▓▓▓▓
——░░░░░░░░
—-▓▓▒▓▓▓▒▓▓
–▓▓▓▒▓▓▓▒▓▓▓
▓▓▓▓▒▒▒▒▒▓▓▓▓
░░▓▒░▒▒▒░▒▓░░
░░░▒▒▒▒▒▒▒░░░
░░▒▒▒▒▒▒▒▒▒░░
—-▒▒▒ ——▒▒▒
–▓▓▓———-▓▓▓
▓▓▓▓———-▓▓▓▓
*/
Minimal input range styling (CSS only) - Script Codes
Minimal input range styling (CSS only) - Script Codes
Home Page Home
Developer Renaud Tertrais
Username renaudtertrais
Uploaded August 12, 2022
Rating 4.5
Size 3,137 Kb
Views 30,360
Do you need developer help for Minimal input range styling (CSS only)?

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!

Renaud Tertrais (renaudtertrais) 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!