CSS - How can I target :last-of-type with a specified data attribute?

Viewed 16

I am trying to style the :last-of-type that also has [data-is-showing="true"]

I tried this

.my-class[data-is-showing="true"]:last-of-type {}

and it did not work. Does anyone know how I can target this element?

0 Answers
Related