Thursday, 6 April 2023

CSS - regex

 


css regx proeprty You could use the ^= ('starts with') and $= ('ends with')

attribute selectors. 

[class^="dh-"]{} ---> start with dh

[class$="-bl"]{} ---> end with dl


No comments:

Post a Comment