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

Q: How can I style a tiddler if it has "this" AND "that" tag?

2018년 4월 11일 오후 5:39

Answer: Introduced in v5.1.16

If tiddler has both: this AND tag that create an orange border.

[data-tags*="bar"][data-tags*="froz"] {
  border: 2px solid orange;
}

If your CSS looks like this:

[data-tags~="this"] {
  border: 2px solid blue;
}

[data-tags~="that"] {
  border: 2px solid red;
}

this creates a blue border that creates a red border If you swap positions, you get it the other way around.

Learn more about possible attributes!