Motus

Playground

A template and its data, compiled and rendered by the server as you type, under a store's rules.

Template 64 KB at most
The preview follows your typing: the form is sent as you type (submit-on), the page answered with what changed. No script of the site's.
Preview · sandboxed, no scripts200

Compiled and rendered: no problems.

Instructions
74
Run
174
Strings
11
Components
3
Extracted CSS · 622 bytes
.meter[data-m-fc00292e]{display: grid;gap: 6px;}.meter .track[data-m-fc00292e]{ height: 10px; border-radius: 99px; background: var(--track); overflow: hidden }.meter .fill[data-m-fc00292e]{width: calc(min(var(--m-fc00292e-0), 100) * 1%);height: 100%;background: var(--m-fc00292e-1, gray);transition: width .4s ease;}.meter .fill:hover[data-m-fc00292e]{ filter: brightness(1.15) }.done .meter .fill[data-m-fc00292e]{ background: var(--good) }@media (max-width: 420px){.meter[data-m-fc00292e]{font-size: 13px;}}.lean[data-m-fc00292e]{ translate: calc(var(--jw-pointer-x) * .01px) 0 }:root{--jw-pointer-x:0;--jw-pointer-y:0;}
The HTML it rendered · 1499 bytes
<style>
  :root { --track: #e9e2d5; --good: #2f7d46 }
  @media (prefers-color-scheme: dark) { :root { --track: #34302a } }
  .board { display: grid; gap: 14px; max-width: 520px }
</style>
<div class="board">
  <div data-m-fc00292e style="--m-fc00292e-0:78.916667;--m-fc00292e-1:#c2410c;" class="meter"><span data-m-fc00292e>Sign-ups toward the goal <b data-m-fc00292e>79%</b></span>
    <div data-m-fc00292e class="track">
      <div data-m-fc00292e class="fill lean"></div>
    </div>
  </div>
  <div data-m-fc00292e style="--m-fc00292e-0:114.8404;--m-fc00292e-1:#2563eb;" class="meter"><span data-m-fc00292e>Visits, against last week <b data-m-fc00292e>115%</b></span>
    <div data-m-fc00292e class="track">
      <div data-m-fc00292e class="fill lean"></div>
    </div>
  </div>
  <div data-m-fc00292e style="--m-fc00292e-0:93.577075;--m-fc00292e-1:#2563eb;" class="meter"><span data-m-fc00292e>Sign-ups, against last week <b data-m-fc00292e>94%</b></span>
    <div data-m-fc00292e class="track">
      <div data-m-fc00292e class="fill lean"></div>
    </div>
  </div>
  <div data-m-fc00292e style="--m-fc00292e-0:120;--m-fc00292e-1:#2563eb;" class="meter"><span data-m-fc00292e>Orders, against last week <b data-m-fc00292e>120%</b></span>
    <div data-m-fc00292e class="track">
      <div data-m-fc00292e class="fill lean"></div>
    </div>
  </div>
  <p style="margin: 0; font-size: 13px; opacity: .75">An element's own style, as written.</p>
  <p style="border-left: 4px solid #7c3aed position: fixed; padding-left: 8px">From data, made CSS's: <code>#7c3aed position: fixed</code></p>
</div>
  • Compiled as a store's template: no <script>, no event handlers, no frames, forms post to the site, CSS checked.
  • Rendered within limits: 250,000 instructions, 512 KB of output, components 32 deep. The template 64 KB at most, the data 32 KB.
  • Yours to use: the kit's <Badge> and <Price>, the actions Comments.add and Comments.erase, Post_Params for a route's params.