이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

Style Attributes

2026년 8월 21일 오전 6:53

TiddlyWiki supports the usual HTML style attribute for assigning CSS styles to elements:

<div style="color:red;">Hello</div>

Introduced in v5.2.2 In an extension to HTML, TiddlyWiki also supports accessing individual CSS styles as independent attributes. For example:

<div style.color="red">Hello</div>

The advantage of this syntax is that it simplifies assigning computed values to CSS styles. For example:

<div style.color={{!!color}}>Hello</div>

New in v5.3.6 TiddlyWiki also supports setting CSS custom properties as independent attributes. For example:

<div --bg-color={{{ [[red]] }}}>Hello</div>