-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add a class/selector to <img> when using <picture> #244
Comments
I have added class to dynamically created target image: const pictureTagObserver = lozad("picture.lozad", { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not an issue but I'm struggling to find how to do this. In using the picture/source/img responsive setup I need to add a class directly to the element (for a different GSAP array).
I've searched the issues here and haven't found success, can anyone help?
TIA
The text was updated successfully, but these errors were encountered: