How to use wildcards with CSS selectors

wildcard in CSS class

Below code shows how to use wildcards in your CSS selectors


use following code to select all element

it only select class name that contain element not elemen or eleme etc

below code shows how to use a wildcard to select all div’s with a class that starts with a name ‘element’.

how to select all div’s that end with name ‘element’


Leave a Reply

Your email address will not be published. Required fields are marked *