I make quest using twine. I need all the elements to behave as a single solid object when changing the screen size. Now their positions are independent of each other.
In Twine I can manage all objects through the tw-story (like .body) or use tw-passage for description(black on attached gif) and tw-link for answers(grey on gif)
tw-story
{
background-image: url(../Images/TavernQuest/defentures_quest_back.png);
background-size: cover;
font-family: Arial;
padding: 11% 19%;
object-fit: cover;
}
tw-passage {
color: black;
max-width: 50%;
font-size: 1.8vw;
}
tw-link
{
object-fit: cover;
font-size: 1.8vw;
color: grey;
}
How to make element position pin on background during window size change?
This is link to imgur gif that shows problem https://i.imgur.com/5IWS7rq.gifv