A
A
Alexey Orlov2019-12-18 17:07:38
css
Alexey Orlov, 2019-12-18 17:07:38

How to select all elements with the same ending in Stylus?

For example, there are classes ".link--hide", ".image--hide", ".image--show", how in this case to define so that only classes with --hide ending have certain properties added and is it possible in Stylus?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-12-18
@LeshaGFB

[class*="—hide"]
https://www.w3schools.com/cssref/sel_attr_contain.asp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question