TW style wrapper: Combined classes

28 views
Skip to first unread message

Mohammad

unread,
Aug 17, 2018, 7:32:11 AM8/17/18
to TiddlyWiki
Tiddlywiki tells you can use style wrapper in wikitext like this


<style>
.mr-padding{padding:0.5em 1em;}
.mr-blue{background-color:#00f;}
.mr-bg-white{color:#fff;}
</style>

@@.mr-blue
@@.mr-bg-white
@@.mr-padding
This is a text
@@
@@
@@


If I want to use combined classes is it okay to just use one closing tag (@@) e.g.

<style>
.mr-padding{padding:0.5em 1em;}
.mr-blue{background-color:#00f;}
.mr-bg-white{color:#fff;}
</style>

@@.mr-blue
@@.mr-bg-white
@@.mr-padding
This is a text
@@


How about this

@@.tc-tiddler-frame
@@width:200px;height:50px;
or combine both
@@


-Mohammad
Reply all
Reply to author
Forward
0 new messages