wesbos / master-gatsby

slick slices eh
358 stars 388 forks source link

styling elements through their attributes #57

Closed Manimall closed 4 years ago

Manimall commented 4 years ago

2020-10-20_22-44-58 Typescript-styled-plugin is complaining

if i wrote smth like this -

.gatsby-image-wrapper img[src*=base64\\] {

Unfortunately, this won't work

However, i found solution -

.gatsby-image-wrapper img[${'src*=base64\\,'}] {

this will do the trick)

wesbos commented 4 years ago

thanks a ton!