tzk/tzk/editions/tzk/tiddlers/$__sib_Macros_colorsplotch.tid

9 lines
399 B
Plaintext

created: 20210522022802823
description: Display a small box of color, the color being any CSS color. This macro usually only works properly at the beginning of a line.
example: <<colorsplotch "#ffffff">> White
modified: 20210523135019901
tags: $:/tags/Macro
title: $:/sib/Macros/colorsplotch
type: text/vnd.tiddlywiki
\define colorsplotch(col) <div class="color-splotch" style="background: $col$;">