Style sheets only.

One workshop manual, dressed 40 ways, eleven of them whole places. Then twenty-three things people usually reach for JavaScript to do, done without it.

There is no script on this site: no <script> tag, no onclick, nothing to switch off. Every outfit and exhibit was designed by machine for the Slopwright.

Places 11

Outfits that are somewhere: the manual staged in a theatre, a tin of sea, a lift, a corridor, a jungle, the club floor. Scroll-driven scenes, real 3D and ambient life, still pure CSS and still the same document. The strips run from the top of each page to the bottom.

  1. Curtain up View timelines
  2. Into the tin Scroll timelines and @property
  3. Going down A scroll-driven odometer
  4. On the bench perspective and translateZ
  5. The long corridor 3D walls and a scroll-driven camera
  6. Pop-up book view() and rotateX
  7. A day at the bench @property colour cycles
  8. Lamplight Light shafts, mask and :target
  9. Canopy Conic-gradient fans and scroll parallax
  10. Weather in a teacup Keyframed weather
  11. Floor’s open oklch() relative colours

The garden 29

Try them on

The same HTML document every time, byte for byte, except one stylesheet link. After the CSS Zen Garden, which had the idea first.

  1. Workshop standard Custom properties and grid
  2. Under construction steps() and tiled gradients
  3. Level zero Layered gradients
  4. Sardine-tin sea radial-gradient and border-radius
  5. Green screen ch units and text-shadow
  6. Late edition Multi-column layout
  7. Gradients all the way down Repeating conic gradients
  8. Cut paper clip-path
  9. For the printer @page and paged media
  10. High contrast forced-colors and prefers-contrast
  11. No pictures System colours, no images
  12. Blueprint Background grids and outlines
  13. Load-bearing Almost nothing
  14. International style Subgrid
  15. Opening night Gradients and text-shadow
  16. Wound daily @property and conic gradients
  17. Night drive 3D transforms
  18. Illuminated ::first-letter and text-wrap
  19. After hours color-scheme and light-dark()
  20. Shelves Container queries
  21. Index cards scroll-snap
  22. Photocopied zine Blend modes and transforms
  23. Till receipt Dotted leaders with flexbox
  24. Sketchbook Elliptical border-radius
  25. Liner notes writing-mode
  26. Instruction booklet Cascade layers
  27. Marginalia Anchor positioning
  28. Filing cabinet Scroll-state queries
  29. Exposure sheet @starting-style

Without JavaScript 23

Rule 110

Tabs, a modal, noughts and crosses with a referee, an adder, the club’s bill filtered by kind, an emote wheel laid out by trigonometry, and a cellular automaton that is, with your help, Turing complete. Each page shows the CSS that does it and says where the trick is worse for accessibility than a script would be.

  1. Tabs, from radio buttons Three tabs, three radio buttons, one sibling combinator. :checked + ~
  2. One drawer at a time An exclusive accordion. The HTML does it; CSS dresses it. <details name>
  3. A modal with no script One with popover, one with :target. Only one of them is good. popover :target
  4. Tooltips that know where they are Anchor positioning puts the tip by its word, and flips it at the edge. anchor positioning :has()
  5. The big light A dark mode switch: one checkbox and :root:has(). :has()
  6. A form that tells you off, politely Errors that wait until you’ve had a go, with :user-invalid. :user-invalid :has() CSS counters
  7. Keeping score A checklist that counts itself with CSS counters. CSS counters :has()
  8. A four-bit adder Binary addition with carries, worked out by :has(). :has() CSS counters
  9. Reading progress A progress bar whose clock is the scroll position. scroll-driven animations @property
  10. Depth Parallax from perspective alone. No scroll listener. 3D transforms
  11. Noughts and crosses Two players, 81 checkboxes and a referee made of :has(). :has() :checked + ~
  12. The stockroom maze Rooms are :target sections; exits are links. :target :has()
  13. A clock that can’t tell the time Hands and digits from @property integers. It starts at zero. @property CSS counters
  14. A slideshow that plays itself @keyframes for the playing; radio buttons for the picking. :checked + ~ :has()
  15. The lamp, drawn One element, two pseudo-elements, a lot of gradients. conic and radial gradients :checked + ~
  16. Rule 110 A Turing-complete cellular automaton. You are the clock. :checked + ~
  17. Who’s on tonight The club’s bill, filtered by kind with :has() and counted with counters. :has() CSS counters
  18. The emote wheel Eight dances on a ring, placed with sin() and cos(). A small robot does them. sin() and cos() :has() :checked + ~
  19. One colour, a whole palette Pick a seed; oklch() and color-mix() work out the rest. relative colours in oklch() color-mix() :has()
  20. A header that knows it’s stuck Sticky headings that change while they’re stuck: scroll-state queries. scroll-state queries
  21. Entrances and exits A popover that slides in and out: @starting-style and allow-discrete. popover @starting-style
  22. Dressed by a variable A poster that changes with the set: container style queries. container style queries :has()

CSS can’t loop and can’t keep a secret. It can do a surprising amount while you watch.

How honest is that
Slop at the top