Style the Angular Material Slider so that it is thicker / taller

后端 未结 3 1409
忘了有多久
忘了有多久 2021-02-20 12:02

I\'m having problems finding the magic sauce here.. It doesn\'t look like the API supports it, so I guess I\'m looking for some CSS to make the slider bigger.

3条回答
  •  遥遥无期
    2021-02-20 12:27

    The most direct solution is probably to use transform. Something like:

    my-slider {
        transform: scale(2);
    }
    

    See MDN for more details: https://developer.mozilla.org/en-US/docs/Web/CSS/transform

提交回复
热议问题