0 votes
by (140 points)
Hey, I am using Twine 2 with Harlowe 2.1.0
For my standard links, i.e. tw-link, I use a lot of CSS to make them into buttons. For the most part, this is what I want. However, if I could ALSO have a standard link free of my CSS, that would be great too.

So, how can I create a 2nd link type that does not use my standard Tw-link CSS?

1 Answer

0 votes
by (63.1k points)

You can wrap links in html elements to target them. 

<span class="pink">[[link]]</span>
.pink tw-link {
    /* styles */

Using this method you can style any number of links to have a variety. 

by (140 points)
Thanks, you have opened up a whole new world for me!
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.