Add knob and reorder divs

This commit is contained in:
lolabird 2023-11-11 07:39:44 -07:00
commit 8acb8377a6
3 changed files with 68 additions and 35 deletions

View file

@ -5,11 +5,18 @@ body{
}
.area{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 90vh;
}
.pen-input, .grid-input {
display: flex;
flex-direction: column;
justify-content: center;
margin: 20px;
}
.container{
border: 1px solid #bbb;
height: 500px;
@ -19,12 +26,6 @@ body{
background: white;
}
.user-input {
display: flex;
justify-content: center;
margin: 20px;
}
.slider {
display: flex;
flex-direction: column;
@ -32,6 +33,28 @@ body{
align-items: center;
}
.range-knob {
width: 50px;
height: 50px;
border-radius: 50%;
border: 1px solid #111;
cursor: pointer;
background: #bbb;
box-shadow: 1px 2px 10px 1px #555;
}
.range-knotch {
width: 10px;
height: 10px;
border-radius: 50%;
cursor: pointer;
background: #111;
position: relative;
top: 15%;
left: 50%;
transform: translate(-50%, -50%);
}
.grid {
box-sizing: border-box;
}