Recently, I stumbled upon this code snippet in our codebase:
li.ng-binding span {
font-size: 13px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
The selector above doesn't actually apply to one of the intended 'li' elements due to the presence of .ng-binding
within it. Even though this code functions as expected, should including ng-binding
in a CSS selector be considered a best practice?