Hi! I was wondering if there was a way to use outside images as overlays over items in a pet's TC. so for example, my pet tama has a tc with snacks/foods based on the real snacks/foods in the actual tamagotchi game. There are cool pixel icons for each of these foods, so like is there a way for me to replace the image for the with the ice cream image in this chart (like if I pulled it as its own image lol) here
thank you :)
You can do it like this:
img[title=Ice Cream] { content: url('IMAGE URL HERE'); }
And change "Ice Cream" to your item name, make sure it is capitalized correctly and is the exact item name.
I actually thought we could not use square brackets in CSS, but recently I figured out this workaround. I figured out our sCode processor is inserting quotation marks, so this will work if you leave the quotation marks out of the item name.
🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights