r/Anki•
RemoteDoc

Parsing image from ANKI field into CSS background-image: url("{{field}}")

I am curious if anyone knows of a solution for the following circumstance: I have a single image in a field called "background". What I would like to do is have that image be the background of the card, ie:
.card {
background-image: url("{{background}}");
}

Posted May 2, 2017, 10:30 PM UTC

214
Loading comments…