Hi Hubert
Try the following in a new tiddler tagged $:/tags/Stylesheet on tw.com:
\rules only filteredtranscludeinline transcludeinline macrodef
macrocallinline macrocallblock
html body.tc-body {
background: url("<<datauri "Tiddler Fishes.svg">>") center center;
}
Best wishes
Jeremy
On Wednesday, October 24, 2018 at 11:03:07 AM UTC+1, Hubert wrote:
>
> I'm having a problem showing an SVG image using the CSS content property.
> The SVG image is a separate tiddler type image/svg+xml and the CSS style
> is in a separate tiddler type text/css and tagged $:/tags/Stylesheet.
>
> Has anyone been successful displaying an image in this way? I'd be
> grateful if you could show me what's wrong with my syntax:
>
> content: url("[[delete.svg]]");
>
>
> Thank you!
>
> Best regards,
> Hubert
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/48cecc2e-57ef-419e-a82f-3c93b97175f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.