2013-12-05 16:21:10 +00:00
|
|
|
created: 20131205160532119
|
|
|
|
modified: 20131205160549129
|
2014-09-11 08:15:58 +00:00
|
|
|
tags: WikiText
|
2013-12-05 16:21:10 +00:00
|
|
|
title: Styles and Classes in WikiText
|
|
|
|
type: text/vnd.tiddlywiki
|
2014-09-11 08:15:58 +00:00
|
|
|
caption: Styles and Classes
|
2013-12-05 16:21:10 +00:00
|
|
|
|
|
|
|
You can use this construction to cause the wrapped content to be assigned specified CSS classes or styles:
|
|
|
|
|
|
|
|
<<wikitext-example src:"@@.myStyle
|
|
|
|
* List One
|
|
|
|
* List Two
|
|
|
|
@@
|
|
|
|
">>
|
|
|
|
|
|
|
|
Similar syntax is used to assign styles. For example:
|
|
|
|
|
|
|
|
<<wikitext-example src:"@@background-color:red;
|
|
|
|
* List One
|
|
|
|
* List Two
|
|
|
|
@@
|
|
|
|
">>
|
|
|
|
|
|
|
|
Multiple styles and classes can be mixed. For example:
|
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
<<wikitext-example src:"@@.tc-tiddler-frame
|
2013-12-05 16:21:10 +00:00
|
|
|
@@width:400px;
|
|
|
|
Some text
|
|
|
|
@@
|
|
|
|
">>
|