0 votes
asked by (2k points)
retagged by
tw-story[tags~="Portada"] { background-image:url("https://solomontwine.yolasite.com/resources/Portada.jpg"); background-size:contain; } This is how I put my images in my stylesheet

1 Answer

0 votes
answered by (300 points)

Wouldn't it be simpler to do it like this:
 

body {
 background-image: url("paper.gif");
 background-color: #cccccc;
}

I am just wondering, I am not sure :3

commented by (6.2k points)
using 'body' affects every passage in the story. tw-story[tags="portada"] only affects passages with the 'portada' tag assigned to it, so you can have multiple CSSes for passages.
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...