image classes for individual images not working
-
hey @arminunruh
I'm trying to add a class to an image to make the images corners rounded but the class isn't attaching onto the image? I'm on the latest version.
I noticed there is a new "img decoding="async" code when I use the inspector, is it something to do with that?
Thanks!
Alasdair
-

its not added to the image itself but to the .col div
so if your class is: myclass
then to target only the img tag inside the image element, your css would be:
.myclass img{
}
-

its not added to the image itself but to the .col div
so if your class is: myclass
then to target only the img tag inside the image element, your css would be:
.myclass img{
}
@arminunruh ahh of course, thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login