Trying to dynamically update CSS properties such as minmax(20vw), grid-gap, and height using individual range sliders:
#wrapper {
grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
grid-gap: 20px;
}
#item {
height: 150px;
}
Utilizing CSS grid and 'VW values', not sure if it's complicating the process. Any guidance on where to start is appreciated.
Editable live codepen available here: https://codepen.io/db13/pen/ypdPOO
UPDATE:
Each range slider will now correspond to a specific property:
Slider 1: Grid Gap
Slider 2: Div width
Slider 3: Div Height