change button shape and color?

75 views
Skip to first unread message

Dave

unread,
Feb 11, 2018, 8:56:37 PM2/11/18
to TiddlyWiki
Given this type of button:

<$button set="$:/state/basicslider$c$" setTo="show">.</$button>

Is there any way to change the shape to have rounded corners (and thus be a circle using the "." above)

Also, how do I change the background color of the button from the default grey?


Thanks,
Dave

Birthe C

unread,
Feb 11, 2018, 10:05:52 PM2/11/18
to TiddlyWiki
<$button class="mybutton" set="$:/state/basicslider$c$" setTo="show">.</$button>

<style>
.mybutton {
border-radius: 50%;
background-color:red;
}
</style>

Birthe

Dave

unread,
Feb 12, 2018, 12:31:07 AM2/12/18
to TiddlyWiki
Thank you :)
Reply all
Reply to author
Forward
0 new messages