html - 如何为有角度的垫卡添加颜色
问题描述
我只是想为这张卡添加更多颜色,我该怎么做?这是我当前的垫卡代码:
<mat-card>
<mat-card-content>
<form [formGroup]="loginForm" (ngSubmit)="onSubmit()">
<h2>Log In</h2>
<!-- <mat-error *ngIf="f.">-->
<!-- The username and password were not recognised-->
<!-- </mat-error>-->
<mat-form-field class="full-width-input">
<input matInput type="text" placeholder="Username" formControlName="username" required>
<mat-error *ngIf="f.username.errors">
Please provide a valid username address
</mat-error>
</mat-form-field>
<mat-form-field class="full-width-input">
<input matInput type="Password" placeholder="Password" formControlName="password" required>
<mat-error *ngIf="f.password.errors">
Please provide a valid password
</mat-error>
</mat-form-field>
<button mat-fab color="primary">Login</button>
</form>
</mat-card-content>
</mat-card>
解决方案
推荐阅读
- powerbi - 模型运行日期的 DateTime 或整数
- python - 如何使用 Django 将搜索查询结果保存到模型中?
- laravel - 如何使用静态值从表中搜索值
- lua - Lua 中的表达式和语句到底是什么?
- typescript - 我正在尝试在 Angular 9/10 中使用输入标签文件类型重置选定的文件,我用谷歌搜索并找到了解决方案,但它不起作用
- javascript - 如何在 cypress 中链接 cy.get
- python - 通过 Python 命令和 dbutils 在 Databricks 上安装 Maven 库
- c++ - 如何在我的安装程序中包含 .NET Core(Windows 和 macOS)
- python - 如何使用python内置库读取视频文件并保存帧(图像)?
- excel - Excel - 从另一个满足特定条件的表格范围填充表格范围