I’d like to add an arrow-image to a navigation list element with the ::after-pseudoclass. Therefore I think about something like that:
How can I set a link in css directly to an image in a resource-folder?
I think this can be solved with typoscript, too, but an url in css would be much easier in my constellation.
Assuming this file structure:
You should define the url as
And I don’t think you can use the
content property for the image. It should be defined as an
But this is a CSS question and not Neos-specific.
Thank you, this works.
Ok, sorry. I was wondering if I had to mind somethink neos-specific.
For an simple arrow you can use an character as an alternative to an image.
Thank you for the hint. I used this:
border-right: 0.15em solid #191970;
border-top: 0.15em solid #191970;