If I have;
<div class="hasImage" name="something"></div>
And I want to add an image previous to it using:
div.hasImage::before { content: url("images/something.jpg") }
How can I craft the path "images/something.jpg", using just "something".
I've seem many old posts mentioning dynamic path and something like what I need, but they are very old, by now I hope that something have changed and it is now possible...
<div class="hasImage" name="something"></div>
And I want to add an image previous to it using:
div.hasImage::before { content: url("images/something.jpg") }
How can I craft the path "images/something.jpg", using just "something".
I've seem many old posts mentioning dynamic path and something like what I need, but they are very old, by now I hope that something have changed and it is now possible...
Edited by luizbgomide