angular-docs-cn/public/docs/_examples/cb-form-validation/ts/forms.css

11 lines
200 B
CSS
Raw Normal View History

.ng-valid[required] {
border-left: 5px solid #42A948; /* green */
}
.ng-invalid {
border-left: 5px solid #a94442; /* red */
}
.ng-valid.required {
border-left: 5px solid #42A948; /* green */
}