Search
 
SCRIPT & CODE EXAMPLE
 

CSS

Changing to custom font in angular material 12

@use '~@angular/material' as mat;
@font-face {
   font-family: 'custom-font';
   src: url('assets/custom-font.ttf');
 }
$custom-typography: mat.define-typography-config(
  $font-family: "custom-font"
);
@include mat.core($custom-typography);
Comment

Changing to custom font in angular material 12

@use '~@angular/material' as mat;
@font-face {
   font-family: 'custom-font';
   src: url('assets/custom-font.ttf');
 }
$custom-typography: mat.define-typography-config(
  $font-family: "custom-font"
);
@include mat.core($custom-typography);
Comment

PREVIOUS NEXT
Code Example
Css :: how to center an element in css 
Css :: comfirm before delete 
Css :: border color css 
Css :: change bot page background top.gg 
Css :: linux bash sort folders ascending 
Css :: flexbox gap 
Css :: media query for mobile min and max width 
Css :: animation reverse 
Css :: comentarios en css 
Css :: css width: 50% 
Css :: how to horizontally center in css 
Css :: color checker css online 
Css :: grid columns 
Css :: css center text 
Css :: bootstrap file upload 
Css :: scss for loop nth child 
Css :: add padding to scrollbar 
Css :: gradient text color css 
Css :: set svg background color css 
Css :: how to style multiple elements at once 
Css :: set border only left and right css 
Css :: avoid side scrolling css 
Css :: hover media query 
Css :: row reverse grid 
Css :: css background properties 
Css :: smooth scroll 
Css :: css prevent text wrap 
Css :: css light grey 
Css :: decrease div size 
Css :: how to make div position top in css 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =