Hello Tobias,

On 18 Nov., 16:21, Tobias Beer <[email protected]> wrote:

> Can anyone explain the origins, application, how-to's of this syntax?
> div[tags~="someTag"] {style:property;}
> Tobias.

If a Tiddler ist tagged with eg: "firstChar" the style properties are
applied to this tiddler. Put the following code into your StyleSheet.
Make a newTiddler. Tag it "firstChar" and Enter 3 lines of text .
Details see. [1]

div[tags~="firstChar"].tiddler
        .viewer:first-letter {
                float: left;
                font-size: 300%;
                font-weight: bold;
                border-style: solid;
                border-width: 1px;
                border-color: red;
                padding: 3px 3px 0px 3px;
        }

div[tags~="firstChar"].tiddler
.viewer:first-line {
background-color: #999999;

}

I like it :)

regards Mario
[1] http://www.tiddlywiki.com/#AnotherExampleStyleSheet

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to