Tawd's picture
Uh can you do something that uh the increasing and decreasing uh cursors that uh a little bit uh like organize or do something like make a box or something and uh put the numbers inside that box that that box have a increased Zing and decreasing buttons like uh Scroll down and screw up you see should be have like I just need something special
e8d3009 verified
Raw History Blame Contribute Delete
3.03 kB
body {
padding: 2rem;
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}
.number-controls {
display: flex;
align-items: center;
gap: 10px;
}
.number-controls button {
width: 40px;
height: 40px;
border-radius: 50%;
border: none;
background: #444;
color: white;
font-size: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
user-select: none;
}
.number-controls button:hover {
background: #f9d342;
color: #222;
transform: scale(1.1);
}
.number-controls button:active {
transform: scale(0.95);
}
.number {
min-width: 80px;
text-align: center;
display: inline-block;
padding: 12px;
background: rgba(30,30,30,0.8);
border-radius: 12px;
font-size: 28px;
font-weight: bold;
transition: all 0.3s ease;
cursor: pointer;
position: relative;
border: 1px solid #444;
box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
color: #f9d342;
}
.number:hover {
background: rgba(40,40,40,0.9);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(249, 211, 66, 0.2);
}
.number:focus {
outline: none;
border-color: #f9d342;
box-shadow: 0 0 0 3px rgba(249, 211, 66, 0.3);
background: rgba(50,50,50,0.9);
}
.number:focus {
outline: 2px solid #f9d342;
background: rgba(255,255,255,0.2);
transform: scale(1.05);
}
.number:hover {
background: rgba(255,255,255,0.15);
}
.number-wrapper {
display: flex;
align-items: center;
gap: 10px;
background: rgba(30, 30, 30, 0.9);
border-radius: 15px;
padding: 5px 15px;
border: 2px solid #444;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.number-controls {
display: flex;
flex-direction: column;
gap: 8px;
}
.number-btn {
width: 32px;
height: 32px;
border-radius: 5px;
background: linear-gradient(145deg, #333, #222);
color: white;
border: none;
font-size: 18px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.number-btn:hover {
background: linear-gradient(145deg, #f9d342, #e6c23a);
color: #222;
transform: translateY(-2px);
}
.number-btn:active {
transform: translateY(0);
}
.number {
min-width: 60px;
text-align: center;
padding: 10px;
background: rgba(40,40,40,0.8);
border-radius: 8px;
font-size: 28px;
font-weight: bold;
transition: all 0.3s ease;
border: 1px solid #555;
box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}
.number:focus {
outline: 2px solid #f9d342;
background: rgba(50,50,50,0.9);
}
@keyframes pulseBorder {
0% { transform: scale(1); opacity: 0.8; }
50% { transform: scale(1.1); opacity: 0.4; }
100% { transform: scale(1); opacity: 0.8; }
}
h1 {
font-size: 16px;
margin-top: 0;
}
p {
color: rgb(107, 114, 128);
font-size: 15px;
margin-bottom: 10px;
margin-top: 5px;
}
.card {
max-width: 620px;
margin: 0 auto;
padding: 16px;
border: 1px solid lightgray;
border-radius: 16px;
}
.card p:last-child {
margin-bottom: 0;
}