From b33079617253f844db5d7352280504b8f1851483 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Jul 2024 10:38:45 -0400 Subject: Add propagator experiment. --- chapter-7/propagators.css | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 chapter-7/propagators.css (limited to 'chapter-7/propagators.css') diff --git a/chapter-7/propagators.css b/chapter-7/propagators.css new file mode 100644 index 0000000..1b803e2 --- /dev/null +++ b/chapter-7/propagators.css @@ -0,0 +1,38 @@ +body { + font-family: sans; + background-color: #fbfbfb; + margin: auto; + max-width: 20em; +} + +h1 { + text-align: center; +} + +.preview { + width: 50%; + margin-left: auto; + margin-right: auto; +} + +.hex { + text-align: center; + margin-top: 0.5em; +} + +fieldset { + margin-bottom: 1em; + margin-top: 1em; +} + +.color-block { + width: 100%; + aspect-ratio: 1; + border: 1px black solid; +} + +.slider { + display: grid; + grid-template-columns: 35% max-content; + grip-gap: 1em; +} -- cgit v1.2.3