Search
 
SCRIPT & CODE EXAMPLE
 

CSS

mat slide toggle change color

::ng-deep .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb {
    background-color: blue; /*replace with your color*/
}

::ng-deep .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar {
    background-color: skyblue;  /*replace with your color*/
}
Comment

PREVIOUS NEXT
Code Example
Css :: @media 
Css :: @media for mobile 
Css :: click through css 
Css :: meyer-reset css cdn 
Css :: square bullets css 
Css :: css font text stroke 
Css :: a open new tab css 
Css :: prevent enter key submitting a form jquery 
Css :: css display none alternatives 
Css :: input text field with only bottom border 
Css :: make image darker in css 
Css :: css avoid line break in span 
Css :: striped tables css 
Css :: random color scss 
Css :: css space between elements 
Css :: how to make img cover parent div 
Css :: how to stretch the background image in css 
Css :: css beutify scroller 
Css :: how to change style based on screen size 
Css :: button on top right corner css 
Css :: how to center in css 
Css :: how to increase space between lines in css 
Css :: add background image and color css 
Css :: center absolute element css 
Css :: minmax in grid 
Css :: Maintaining the final state at end of a CSS3 animation 
Css :: css detect mobile 
Css :: visibility 
Css :: Set table cellpadding and cellspacing in CSS 
Css :: @extend must be used with a %placeholder 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =