As there was a small typo in the CSS and I wanted to experiment with a 
macro, please see below a macro-version.

CSS:
span.strex:before {
content:"\00a0[...]\00a0";
background-color: lightgray;
}
span.strex > span {
display: none;
}

span.strex:hover:before {
content:"";
margin-right: 0em;
}
span.strex:hover span {
display:inline;
}

Macro + usage

\define strex(text) <span class="strex"><span>$text$</span></span>

The ''TextStretch'' macro is a great tool <<strex "for you as an author of 
hypertext">> to keep the message short. Your readers can discover more 
details easily.




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0dded4d8-b743-464d-b88b-02bda1cb4121%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to