Skip to content
Snippets Groups Projects
Commit 09b720c3 authored by Anris Ceta's avatar Anris Ceta :speech_balloon:
Browse files

change Style

parent aaca699f
No related merge requests found
<mat-toolbar [ngStyle]="{'background-color':'#bbdefb'}">List of Questions</mat-toolbar> <mat-toolbar [ngStyle]="{'background-color':'#bbdefb'}">List of Questions</mat-toolbar>
<mat-card class="card-container" [ngStyle]="{'background-color':'#4db6ac'}"> <mat-card class="outer-card" [ngStyle]="{'background-color':'#b2ebf2'}">
<mat-card *ngFor="let comment of comments"> <mat-card class="card-container" *ngFor="let comment of comments">
<mat-card-title>{{comment.subject}}</mat-card-title> <mat-card-title>{{comment.subject}}</mat-card-title>
<mat-divider></mat-divider> <mat-divider></mat-divider>
<mat-card-content> <mat-card-content>
<p>{{comment.body}}</p> <p>{{comment.body}}</p>
......
...@@ -5,3 +5,21 @@ mat-card { ...@@ -5,3 +5,21 @@ mat-card {
mat-card-content>:first-child { mat-card-content>:first-child {
margin-top: 20px; margin-top: 20px;
} }
mat-toolbar{
border-radius: 10px;
margin-bottom: 20px;
}
.card-container{
background-color: #4dd0e1;
opacity: 0.7;
border-radius: 2px;
}
.outer-card{
border-radius: 8px;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment