Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

mat card title center

----- html file:

<mat-card class="title_center">
    <mat-card-title>spreadsheet</mat-card-title>
</mat-card>


----- css file:

.title_center {
  display: flex;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */
}
 
PREVIOUS NEXT
Tagged: #mat #card #title #center
ADD COMMENT
Topic
Name
5+2 =