more style
- User
more style
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
more style
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pretty Volume Fader</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(to bottom, #2980b9, #3498db); /* Gradient Background */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #fff; /* White text color */
}
.fader-container {
background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
text-align: center;
width: 300px; /* Fixed width */
}
.fader-label {
margin-bottom: 25px;
font-size: 1.4em;
color: #333;
font-weight: bold;
}
.slider-wrapper {
display: flex;
justify-content: center;
align-items: center;
}
input[type="range"] {
-webkit-appearance: none;
width: 100%; /* Take full width of container */
height: 10px;
background: #ddd;
border-radius: 5px;
outline: none;
transition: background 0.3s ease;
margin-bottom: 20px;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 28px;
width: 28px;
background: #e74c3c; /* Red thumb */
border-radius: 50%;
cursor: pointer;
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
transition: background 0.3s ease;
border: 2px solid #fff;
}
input[type="range"]::-webkit-slider-thumb:hover {
background: #c0392b; /* Darker red on hover */
}
input[type="range"]::-moz-range-thumb {
height: 28px;
width: 28px;
background: #e74c3c;
border: none;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
input[type="range"]::-moz-range-track {
background: #ddd;
border-radius: 5px;
}
.fader-value {
margin-top: 25px;
font-size: 1.2em;
color: #333;
font-weight: 500;
}
</style>
</head>
<body>
<div class="fader-container">
<div class="fader-label">Volume Gain (0 - 600)</div>
<div class="slider-wrapper">
<input type="range" id="volumeFader" min="0" max="600" value="0">
</div>
<div class="fader-value" id="faderValue">Current Gain: 0</div>
</div>
<script>
const fader = document.getElementById('volumeFader');
const display = document.getElementById('faderValue');
fader.addEventListener('input', () => {
display.textContent = `Current Gain: ${fader.value}`;
});
</script>
</body>
</html>
Key changes and additions:
body.Segoe UI).fader-container has a semi-transparent white background for better visibility against the gradient.font-weight to the label and value display for emphasis.