HTML CSS examples for CSS Selector:attribute value contains
CSS attribute selector, multiple classes, wildcards applied to one class definition
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> input[class*="amount"] { border:2px solid Chartreuse; } </style> <!-- w w w.ja v a 2s . c o m--> </head> <body> <input class="someclass ng-valid ng-valid-amountdetermined some-other-class"> <input class="someclass ng-valid ng-invalid-amountdetermined some-other-class"> <input class="someclass ng-invalid ng-valid-amountdetermined some-other-class"> <input class="someclass ng-invalid ng-invalid-amountdetermined some-other-class"> </body> </html>