I’ve been having many issues with Twine lately as a beginner, but one of them has been making a button. I simply edited a passage link to look like a button, but only the text was clickable so I scrapped it. I discovered the (button:) macro and boy am I STRUGGLING. I’ve been playing around with the coding, and this is what I have so far.
I’ve been testing many different things, but there are two things I’m struggling with.
1. I want the outline of the button to be a different color than the text. 2. I want the background color to be inside the button.
Coding in corner-radius doesn’t work, and I even tried adding an image instead, it doesn’t work. The other option would be to make the button not rounded, but I can’t seem to figure that out either.
I would like to note that while I am new to Twine, I have had quite some experience with CSS. However, I am trying to keep the majority of my code within the passage editor. If necessary, I can use CSS, such as how I did with the background image.
…so a CSS Rule like the following placed in your project’s Story Stylesheet area would product a similar “button” to the 1st of my direct method examples…