This is the mat-checkbox in Angular
that has wrong style(in the picture).
How can I keep the small checkbox only?
Click here to see the picture
Asked
Active
Viewed 416 times
0

Community
- 1
- 1
-
1Please add what you tried to create a checkbox ? – Hari_pb Apr 19 '18 at 18:24
1 Answers
0
You should use ::ng-deep in your CSS file. (ps. How and where to use ::ng-deep)
Example:
::ng-deep mat-checkbox.yourcheckbox .mat-checkbox-frame{
border: 0px;
}
StackBlitz example: https://stackblitz.com/edit/angular-5j1aur?file=app%2Fcheckbox-configurable-example.css