Topic: increase input range track ball for mobile devices
Michal Szymanski staff pro premium priority answered 8 years ago
<form class="range-field">
<input type="range" min="0" max="200" />
</form>
support3 pro answered 8 years ago
$trackball_size: 22px;
and use it
height: $trackball_size;
width: $trackball_size;
margin: -$trackball_size / 2.2 0 0 0;
it's helps support3 pro answered 8 years ago
// Makes Range trackball more bigger
$trackball_size: 25px;
@mixin resize_range_trackball{
@include size($trackball_size);
border:$trackball_size / 4 solid $body-bg;
margin-top: -$trackball_size / 2.2;
transition:all .2s ease;
box-sizing:inherit;
&:active{
transform:scale(.9);
border-width: $trackball_size / 3;
}
}
input[type=range]{
&::-webkit-slider-thumb {
@include resize_range_trackball;
}
&::-moz-range-thumb {
@include resize_range_trackball;
}
&::-ms-thumb {
@include resize_range_trackball;
}
&::-ms-thumb {
@include resize_range_trackball;
}
}
Michal Szymanski staff pro premium priority answered 8 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No