Within my Angular2 project, I am working with the following HTML markup:
<form [formGroup]="createPasswordForm" (ngSubmit)="onClickCreatePassword(createPassword)">
I am attempting to apply CSS styling to this element, but so far have been unsuccessful. Here is what I have tried:
form[\[formGroup\]="createPasswordForm"]
as well as
form[formGroup="createPasswordForm"]