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!
...