This is one I have not had to tackle before.
For maintenance of a legacy System I can't edit HTML directly to add a CSS class to an image tag.
But is it possible to use image tag's alt text for styling?
<img class="thumbnail" src="/H14547_front_anthrazit.jpg" alt="H14547 front anthrazit">
I want to use the text "front" inside the alt-attribute to style the image like:
img[alt="front"] { padding: .2rem }
Is it possible to use IMG Alt attribute for styling? And how exactly?