Redesigned based on the latest improvements where you don't have to use special classes like pad sized etc and can just set variables to change things.

master
Zed A. Shaw 2 years ago
parent 449d72b756
commit d60045e472
  1. 230
      public/blockstart/blockstart.css
  2. 22
      public/blockstart/demos/asana.html
  3. 12
      public/blockstart/demos/breadcrumbs-2.html
  4. 10
      public/blockstart/demos/breadcrumbs-3.html
  5. 46
      public/blockstart/demos/breadcrumbs.html
  6. 26
      public/blockstart/demos/canva.html
  7. 80
      public/blockstart/demos/earlybird.html
  8. 17
      public/blockstart/demos/index.html
  9. 2
      public/blockstart/demos/pandadoc.html
  10. 273
      public/blockstart/demos/patreon-2.html
  11. 131
      public/blockstart/demos/patreon.html
  12. 2
      public/blockstart/demos/shopify.html
  13. 153
      public/blockstart/demos/slack.html
  14. 42
      public/blockstart/demos/snapchat.html
  15. 54
      public/blockstart/demos/square.html
  16. 23
      public/blockstart/demos/todoist.html
  17. 2
      public/blockstart/demos/vidyard.html
  18. 80
      public/blockstart/demos/vimeo.html
  19. 36
      public/blockstart/demos/wordstream.html
  20. 29
      public/blockstart/demos/zoom.html
  21. 140
      public/blockstart/index.html

@ -1,138 +1,186 @@
:root { :root {
--color-border: hsl(0, 0%, 50%); --color-border: hsl(0, 0%, 0%);
--border-radius: 5px; --border-radius: 5px;
--value0: hsl(0, 0%, 0%);
--value1: hsl(0, 0%, 11%);
--value2: hsl(0, 0%, 22%);
--value3: hsl(0, 0%, 33%);
--value4: hsl(0, 0%, 44%);
--value5: hsl(0, 0%, 55%);
--value6: hsl(0, 0%, 66%);
--value7: hsl(0, 0%, 77%);
--value8: hsl(0, 0%, 88%);
--value9: hsl(0, 0%, 100%);
--text: 0; --text: 0;
--value: 9;
--value-scale: 12%;
--pad: 10px;
--bottom-margin: 2rem;
--w: initial;
--h: initial;
--value0: hsl(0, 0%, calc(0 * var(--value-scale)));
--value1: hsl(0, 0%, calc(1 * var(--value-scale)));
--value2: hsl(0, 0%, calc(2 * var(--value-scale)));
--value3: hsl(0, 0%, calc(3 * var(--value-scale)));
--value4: hsl(0, 0%, calc(4 * var(--value-scale)));
--value5: hsl(0, 0%, calc(5 * var(--value-scale)));
--value6: hsl(0, 0%, calc(6 * var(--value-scale)));
--value7: hsl(0, 0%, calc(7 * var(--value-scale)));
--value8: hsl(0, 0%, calc(8 * var(--value-scale)));
--value9: hsl(0, 0%, calc(9 * var(--value-scale)));
} }
body { body {
color: hsl(0, 0%, calc(var(--text) * 11%)); padding: 0px;
margin: 0px;
}
blockstart {
background-color: #fff;
color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
width: 100%;
min-width: 100%;
max-width: 100%;
height: 100%;
min-height: 100%;
} }
content { blockstart * {
display: flex; font-size: 1.1em;
flex-direction: column;
} }
a { blockstart > * + * {
color: hsl(0, 0%, calc(var(--text) * 11%)); margin-bottom: var(--bottom-margin);
} }
block { blockstart > *:last-child {
color: hsl(0, 0%, calc(var(--text) * 11%)); margin-bottom: 0px;
display: flex; }
blockstart a {
color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
}
blockstart block {
--spacing: space-evenly; --spacing: space-evenly;
display: flex;
background-color: hsl(0, 0%, calc(var(--value) * var(--value-scale)));
color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
justify-content: var(--spacing); justify-content: var(--spacing);
flex-direction: column; flex-direction: column;
padding: var(--pad);
width: var(--w);
min-width: var(--w);
max-width: var(--w);
height: var(--h);
min-height: var(--h);
max-height: var(--h);
} }
block > * { blockstart block > * {
color: hsl(0, 0%, calc(var(--text) * 11%));
display: flex;
flex: 1 1 auto;
--spacing: flex-start; --spacing: flex-start;
--pad: 10px;
--w: initial;
--h: initial;
background-color: hsl(0, 0%, calc(var(--value) * var(--value-scale)));
color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
display: flex;
justify-content: var(--spacing); justify-content: var(--spacing);
align-self: stretch; align-self: stretch;
flex-direction: column; flex-direction: column;
margin: 2px; margin: 2px;
padding: var(--pad);
width: var(--w);
min-width: var(--w);
max-width: var(--w);
height: var(--h);
min-height: var(--h);
max-height: var(--h);
} }
.wide { blockstart stack {
color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
display: grid;
grid-template-rows: 1fr;
grid-template-columns: 1fr;
grid-template-areas: "cover";
}
blockstart stack > * {
color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
width: 100%; width: 100%;
height: 100%;
position: relative;
grid-area: cover;
} }
.no-flex { blockstart stack > .top {
z-index: 10;
}
blockstart .wide {
width: 100%;
}
blockstart .no-flex {
display: block; display: block;
flex: unset; flex: unset;
flex-direction: unset; flex-direction: unset;
align-self: unset; align-self: unset;
} }
.center { blockstart .center {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
align-self: center; align-self: center;
} }
.center-text > * { blockstart .center-text {
text-align: center; text-align: center;
justify-content: center;
align-items: center;
} }
.center-self { blockstart .center-self {
align-self: center; align-self: center;
} }
.vertical { blockstart .vertical {
flex-direction: column; flex-direction: column;
} }
.horizontal { blockstart .horizontal {
flex-direction: row; flex-direction: row;
} }
grid { blockstart grid {
--cols: 1fr 1fr; --cols: auto;
--rows: auto; --rows: auto;
--gap: 0.5rem; --gap: 0.5rem;
color: hsl(0, 0%, calc(var(--text) * 11%)); color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
display: grid; display: grid;
grid-gap: var(--gap); grid-gap: var(--gap);
grid-template-columns: var(--cols); grid-template-columns: repeat(var(--cols), 1fr);
grid-template-rows: var(--rows); grid-template-rows: repeat(var(--rows), 1fr);
} }
stack {
color: hsl(0, 0%, calc(var(--text) * 11%));
display: grid;
grid-template-rows: 1fr;
grid-template-columns: 1fr;
grid-template-areas: "cover";
}
stack > * {
color: hsl(0, 0%, calc(var(--text) * 11%));
width: 100%;
height: 100%;
position: relative;
grid-area: cover;
}
stack > .top {
z-index: 10;
}
hr { blockstart hr {
--height: 1rem; --height: 1rem;
min-height: var(--height); min-height: var(--height);
visibility: hidden; visibility: hidden;
} }
hr.huge { blockstart hr.huge {
--height: 3rem; --height: 3rem;
} }
shape { blockstart shape {
--w: 100%; --value: 2;
--h: 100%; --text: 9;
--value: 4; --pad: 1rem;
color: hsl(0, 0%, calc(var(--text) * 11%)); color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
background-color: hsl(0, 0%, calc(var(--value) * 11%)); background-color: hsl(0, 0%, calc(var(--value) * var(--value-scale)));
display: flex; display: flex;
width: var(--w); width: var(--w);
min-width: var(--w); min-width: var(--w);
@ -144,57 +192,49 @@ shape {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
align-self: center; align-self: center;
padding: pad;
} }
.debug { blockstart .debug {
border: 1px solid red; border: 1px solid red;
} }
.debug > * { blockstart .debug > * {
border: 1px solid blue; border: 1px solid blue;
} }
.pad { blockstart .border {
--pad: 1rem; border: 2px solid var(--color-border);
padding: var(--pad); border-radius: var(--border-radius);
} }
.sized { blockstart .compact {
--w: 100%; justify-content: flex-start;
--h: 100%;
width: var(--w);
min-width: var(--w);
max-width: var(--w);
height: var(--h);
min-height: var(--h);
max-height: var(--h);
} }
.border { blockstart .compact > * {
border: 1px solid var(--color-border); flex: unset;
border-radius: var(--border-radius);
} }
.solid { .solid {
--value: 8; --value: 4;
background-color: hsl(0, 0%, calc(var(--value) * 11%)); --text: 9;
} }
.dots { .fill {
--pat-val: 7; flex: 1 1 auto;
background-image: radial-gradient(hsl(0, 0%, calc(var(--pat-val) * 11%)) 1px, transparent 1px);
background-size: calc(10 * 1px) calc(10 * 1px);
} }
.lines { button {
--pat-val: 7; --value: 7;
background-image: linear-gradient(hsl(0, 0%, calc(var(--pat-val) * 11%)) 1px, transparent 1px), linear-gradient(to right, hsl(0, 0%, calc(var(--pat-val) * 11%)) 1px, transparent 1px); --text: 0;
background-size: 10px 10px;
background-color: hsl(0, 0%, calc(var(--value) * var(--value-scale)));
color: hsl(0, 0%, calc(var(--text) * var(--value-scale)));
border: 2px solid var(--color-border);
border-radius: var(--border-radius);
} }
.stripes { button:hover {
--pat-val: 7; filter: brightness(90%);
background-image: linear-gradient(90deg, transparent 50%, hsl(0, 0%, calc(var(--pat-val) * 11%)) 50%);
background-size: 10px 10px;
} }

@ -14,17 +14,18 @@
</head> </head>
<body> <body>
<block class="horizontal pad" style="width: unset"> <blockstart>
<block class="horizontal" style="--spacing: space-around;">
<a href="/blockstart/demos/">asana</a> <a href="/blockstart/demos/">asana</a>
<span class="no-flex">G | M U <button>Get Started</button></span> <span class="no-flex">G | M U <button>Get Started</button></span>
</block> </block>
<block class="solid center center-text sized" style="--value: 8; --h: 400px;"> <block class="center center-text" style="--value: 8; --h: 400px;">
<div class="no-flex"> <div class="fill" style="--pad: 1.5rem;">
<h1>Bring products to market faster with Asana</h1> <h1>Bring products to market faster with Asana</h1>
<p>Asana is the easiest way for product managers to track their team's work—and get results.</p> <p>Asana is the easiest way for product managers to track their team's work—and get results.</p>
</div> </div>
<button class="no-flex" style="width: unset">Get Started</button> <button class="border" style="font-size: 2em; --value: 7">Get Started</button>
</block> </block>
<hr> <hr>
@ -53,7 +54,7 @@
</block> </block>
<hr> <hr>
<button class="center" style="max-width: 220px;">More ways to Asana</button> <button class="center border" style="font-size: 2em; --value: 7; --pad: 1.5rem;">More ways to Asana</button>
</block> </block>
@ -66,7 +67,7 @@
<block> <block>
<h4>Move fast without breaking things</h4> <h4>Move fast without breaking things</h4>
<p>Using Asana as your product roadmap tool helps you track project progress, identify blockers, and shift resources on the fly.</p> <p>Using Asana as your product roadmap tool helps you track project progress, identify blockers, and shift resources on the fly.</p>
<button style="max-width: 220px;">Learn more about Asana</button> <button class="border" style="font-size: 2em; --value: 7; --pad: 1.5rem;">Learn more about Asana</button>
</block> </block>
</block> </block>
@ -89,8 +90,8 @@
<hr> <hr>
<block class="center solid sized" style="--value: 8; --h: 500px; --w: 100vw;"> <block class="center" style="--value: 8; --h: 500px; --w: 100vw;">
<div class="no-flex"> <div class="center">
<h1>Product Quotes</h1> <h1>Product Quotes</h1>
<blockquote>"Some dude says that some dude is great."</blockquote> <blockquote>"Some dude says that some dude is great."</blockquote>
</div> </div>
@ -100,12 +101,13 @@
<block class="center center-text"> <block class="center center-text">
<h1>Ship product faster with Asana today</h1> <h1>Ship product faster with Asana today</h1>
<p style="margin-top: 1rem; margin-bottom: 1rem;">See why millions of people use asana...</p> <p style="margin-top: 1rem; margin-bottom: 1rem;">See why millions of people use asana...</p>
<button class="no-flex" style="max-width: 220px">Get started</button> <button class="border no-flex" style="font-size: 2em; --value: 7; --pad: 1rem;">Get started</button>
</block> </block>
<hr> <hr>
<block class="sized solid" style="--h: 500px; --value: 0; color: var(--value9);"> <block class="solid" style="--h: 500px; --text: 9; --value: 0; color: var(--value9);">
<h1>Footer</h1> <h1>Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -163,6 +163,7 @@ panel.dark {
</head> </head>
<body> <body>
<blockstart>
<panel class="yellow"> <panel class="yellow">
<header> <header>
<div> <div>
@ -247,7 +248,7 @@ panel.dark {
<panel class="yellow"> <panel class="yellow">
<companies> <companies>
<div id="title">Works with your <b>tech stack</b> in just a few clicks.</div> <div id="title">Works with your <b>tech stack</b> in just a few clicks.</div>
<span class="pad">Cardigan raclette tbh, kitsch lomo fanny pack vegan.<br> Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</span> <span>Cardigan raclette tbh, kitsch lomo fanny pack vegan.<br> Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</span>
<companies-list> <companies-list>
<span>companies</span> <span>companies</span>
@ -290,15 +291,15 @@ panel.dark {
<panel class="yellow"> <panel class="yellow">
<contact-scoring> <contact-scoring>
<content> <block>
<h1>Contact Scoring? Never Heard of it...</h1> <h1>Contact Scoring? Never Heard of it...</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p>
<a class="pad" href="#">Learn more about contact scoring</a> <a href="#">Learn more about contact scoring</a>
</content> </block>
<hr> <hr>
<shape style="--h: 400px; --value: 7;"> <shape style="--w: calc(100% - var(--pad)); --h: 400px; --value: 7;">
<h1>Pillars</h1> <h1>Pillars</h1>
</shape> </shape>
</contact-scoring> </contact-scoring>
@ -355,5 +356,6 @@ panel.dark {
</column> </column>
</footer> </footer>
</panel> </panel>
</blockstart>
</body> </body>
</html> </html>

@ -191,6 +191,7 @@ shape.yellow {
</head> </head>
<body> <body>
<blockstart>
<panel class="yellow"> <panel class="yellow">
<header> <header>
<div> <div>
@ -275,7 +276,7 @@ shape.yellow {
<panel class="yellow"> <panel class="yellow">
<companies> <companies>
<div id="title">Works with your <b>tech stack</b> in just a few clicks.</div> <div id="title">Works with your <b>tech stack</b> in just a few clicks.</div>
<span class="pad">Cardigan raclette tbh, kitsch lomo fanny pack vegan.<br> Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</span> <span>Cardigan raclette tbh, kitsch lomo fanny pack vegan.<br> Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</span>
<companies-list> <companies-list>
<span>companies</span> <span>companies</span>
@ -318,12 +319,12 @@ shape.yellow {
<panel class="gray"> <panel class="gray">
<contact-scoring> <contact-scoring>
<content> <block>
<h1>Contact Scoring? Never Heard of it...</h1> <h1>Contact Scoring? Never Heard of it...</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p>
<a class="pad" href="#">Learn more about contact scoring</a> <a>Learn more about contact scoring</a>
</content> </block>
<hr> <hr>
<shape class="yellow" style="--h: 400px; --w: 700px; background-color: var(--gray-bg);"> <shape class="yellow" style="--h: 400px; --w: 700px; background-color: var(--gray-bg);">
@ -383,5 +384,6 @@ shape.yellow {
</column> </column>
</footer> </footer>
</panel> </panel>
</blockstart>
</body> </body>
</html> </html>

@ -14,7 +14,8 @@
</head> </head>
<body> <body>
<block class="pad solid" style="--spacing: space-around; width: unset; --vlaue: 8;"> <blockstart>
<block style="--spacing: space-around; --value: 8;">
<div> <div>
<a href="/blockstart/demos/"><h4>Breadcrumbs</h4></a> <a href="/blockstart/demos/"><h4>Breadcrumbs</h4></a>
</div> </div>
@ -28,7 +29,7 @@
</block> </block>
</block> </block>
<block class="horizontal solid pad" style="--value: 8;"> <block class="horizontal" style="--value: 8;">
<left> <left>
<h1>Want More MQLs?</h1> <h1>Want More MQLs?</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p>
@ -41,7 +42,7 @@
</right> </right>
</block> </block>
<block class="horizontal pad"> <block class="horizontal">
<left> <left>
<h1>Get Started in 3 Simple Steps</h1> <h1>Get Started in 3 Simple Steps</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa.</p>
@ -53,41 +54,41 @@
<a href="#">Learn more</a> <a href="#">Learn more</a>
</left> </left>
<right class="pad" style="--pad: 2rem;"> <right style="--pad: 2rem;">
<shape style="--w: 250px; --h: 250px;"> <shape style="--w: 250px; --h: 250px;">
<h1>Steps</h1> <h1>Steps</h1>
</shape> </shape>
</right> </right>
</block> </block>
<block class="horizontal pad solid"> <block class="horizontal solid">
<left class="pad" style="--pad: 2rem;"> <left style="--pad: 2rem;">
<shape style="--w: 250px; --h: 250px;"> <shape style="--w: 250px; --h: 250px;">
<h1>People</h1> <h1>People</h1>
</shape> </shape>
</left> </left>
<right class="pad"> <right>
<h1>Flexitarian Vice Poutine Synth</h1> <h1>Flexitarian Vice Poutine Synth</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p>
</right> </right>
</block> </block>
<block class="horizontal pad"> <block class="horizontal">
<left> <left>
<h1>Don't Let Your Tech Stack Hold You Hostage</h1> <h1>Don't Let Your Tech Stack Hold You Hostage</h1>
<p>Meh art party locavore forage readymade raw denim trust fund humblebrag tumblr lyft. Fixie pour-over chicharrones farm-to-table tumblr, godard church-key live-edge dreamcatcher mixtape hot chicken.</p> <p>Meh art party locavore forage readymade raw denim trust fund humblebrag tumblr lyft. Fixie pour-over chicharrones farm-to-table tumblr, godard church-key live-edge dreamcatcher mixtape hot chicken.</p>
</left> </left>
<right class="pad" style="--pad: 2rem;"> <right style="--pad: 2rem;">
<shape style="--w: 250px; --h: 250px;"> <shape style="--w: 250px; --h: 250px;">
<h1>Toolbox</h1> <h1>Toolbox</h1>
</shape> </shape>
</right> </right>
</block> </block>
<block class="center center-text pad solid" style="--value: 8;"> <block class="center center-text" style="--value: 8;">
<h4>Works with your <b>tech stack</b> in just a few clicks.</h4> <h4>Works with your <b>tech stack</b> in just a few clicks.</h4>
<span class="pad">Cardigan raclette tbh, kitsch lomo fanny pack vegan. Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</span> <span>Cardigan raclette tbh, kitsch lomo fanny pack vegan. Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</span>
<block class="horizontal"> <block class="horizontal">
<span>companies</span> <span>companies</span>
@ -99,24 +100,24 @@
</block> </block>
</block> </block>
<block class="horizontal pad"> <block class="horizontal">
<left class="pad" style="--pad: 2rem;"> <left style="--pad: 2rem;">
<shape style="--w: 250px; --h: 250px;"> <shape style="--w: 250px; --h: 250px;">
<h1>Super Handshake</h1> <h1>Super Handshake</h1>
</shape> </shape>
</left> </left>
<right class="pad"> <right>
<h1>Life is Lonely Marooned on an Island</h1> <h1>Life is Lonely Marooned on an Island</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p>
</right> </right>
</block> </block>
<block class="horizontal pad"> <block class="horizontal">
<left class="pad"> <left>
<h1>Time Kills Deals, For Real</h1> <h1>Time Kills Deals, For Real</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p>
</left> </left>
<right class="pad" style="--pad: 2rem;"> <right style="--pad: 2rem;">
<shape style="--w: 250px; --h: 250px;"> <shape style="--w: 250px; --h: 250px;">
<h1>Accountant</h1> <h1>Accountant</h1>
</shape> </shape>
@ -124,22 +125,23 @@
</block> </block>
<block class="solid center center-text"> <block class="solid center center-text">
<content class="pad"> <div>
<h1>Contact Scoring? Never Heard of it...</h1> <h1>Contact Scoring? Never Heard of it...</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p>
<a class="pad" href="#">Learn more about contact scoring</a> <a href="#">Learn more about contact scoring</a>
</content> </div>
<hr> <hr>
<shape style="--h: 400px; --value: 7;"> <shape style="--w: calc(100% - var(--pad)); --h: 400px; --value: 7;">
<h1>Pillars</h1> <h1>Pillars</h1>
</shape> </shape>
</block> </block>
<block class="solid center-text sized" style="--h: 600px; --value: 2; --text: 9;"> <block class="solid center-text" style="--h: 600px; --value: 2; --text: 9;">
<h1 class="center-self">Footer</h1> <h1 class="center-self">Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -13,7 +13,8 @@
</head> </head>
<body> <body>
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;"> <blockstart>
<block class="horizontal" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/demos/">Canva</a> <a href="/blockstart/demos/">Canva</a>
<input type="text"> <input type="text">
<span>?</span> <span>?</span>
@ -21,7 +22,7 @@
<button>Sign Up</button> <button>Sign Up</button>
</block> </block>
<block class="center-text sized center" style="--w: 80vw; --h: 400px; padding-top: 2rem; padding-bottom: 2rem"> <block class="center-text center" style="--w: 80vw; --h: 400px; padding-top: 2rem; padding-bottom: 2rem">
<h1>Canva. Design for everyone.</h1> <h1>Canva. Design for everyone.</h1>
<p>Iceland bespoke polaroid pug raclette kinfolk tumblr lo-fi asymmetrical chillwave church-key. Bespoke sustainable +1 cred, heirloom chicharrones kitsch tousled. Mixtape schlitz air plant iceland hot chicken, bicycle rights poutine austin bespoke. Stumptown schlitz keytar meggings taiyaki vice next level ugh. Fam vaporware cliche jean shorts listicle narwhal gluten-free vape. Af godard health goth, iPhone edison bulb shaman you probably haven't heard of them mustache photo booth etsy gochujang subway tile cronut. Helvetica ugh seitan, semiotics before they sold out hella hot chicken gastropub try-hard.</p> <p>Iceland bespoke polaroid pug raclette kinfolk tumblr lo-fi asymmetrical chillwave church-key. Bespoke sustainable +1 cred, heirloom chicharrones kitsch tousled. Mixtape schlitz air plant iceland hot chicken, bicycle rights poutine austin bespoke. Stumptown schlitz keytar meggings taiyaki vice next level ugh. Fam vaporware cliche jean shorts listicle narwhal gluten-free vape. Af godard health goth, iPhone edison bulb shaman you probably haven't heard of them mustache photo booth etsy gochujang subway tile cronut. Helvetica ugh seitan, semiotics before they sold out hella hot chicken gastropub try-hard.</p>
@ -35,14 +36,14 @@
<hr/> <hr/>
<block> <block>
<block class="solid sized center" style="--value: 3; --w: 450px; --h: 300px"> <block class="solid center" style="--value: 3; --w: 450px; --h: 300px">
<h1>Demo Image</h1> <h1>Demo Image</h1>
</block> </block>
</block> </block>
<hr/> <hr/>
<grid class="center" style="max-width: 80vw; --cols: 1fr 1fr; --gap: 1rem;"> <grid class="center" style="max-width: 80vw; --cols: 2; --gap: 1rem;">
<shape style="--w: 250px; --h: 150px"></shape> <shape style="--w: 250px; --h: 150px"></shape>
<div>Letterpress leggings bitters drinking vinegar asymmetrical godard slow-carb tumeric.</div> <div>Letterpress leggings bitters drinking vinegar asymmetrical godard slow-carb tumeric.</div>
<div>Tote bag bespoke whatever, godard stumptown hammock selvage hot chicken vinyl 3 wolf moon asymmetrical roof party farm-to-table. </div> <div>Tote bag bespoke whatever, godard stumptown hammock selvage hot chicken vinyl 3 wolf moon asymmetrical roof party farm-to-table. </div>
@ -56,7 +57,7 @@
<block class="center-text"> <block class="center-text">
<h1>Templates</h1> <h1>Templates</h1>
<grid class="center" style="--cols: 1fr 1fr 1fr;"> <grid class="center" style="--cols: 3;">
<shape style="--w: 150px; --h: 150px"></shape> <shape style="--w: 150px; --h: 150px"></shape>
<shape style="--w: 150px; --h: 150px"></shape> <shape style="--w: 150px; --h: 150px"></shape>
<shape style="--w: 150px; --h: 150px"></shape> <shape style="--w: 150px; --h: 150px"></shape>
@ -74,8 +75,8 @@
<hr/> <hr/>
<block class="center sized" style="--w: 80vw;"> <block class="center" style="--w: 80vw;">
<block class="center center-text sized" style="--w: 80%"> <block class="center center-text" style="--w: 80%">
<h1>Work solo, or as a team</h1> <h1>Work solo, or as a team</h1>
<p>Letterpress leggings bitters drinking vinegar asymmetrical godard slow-carb tumeric.</p> <p>Letterpress leggings bitters drinking vinegar asymmetrical godard slow-carb tumeric.</p>
</block> </block>
@ -83,7 +84,7 @@
<hr/> <hr/>
<block class="horizontal"> <block class="horizontal">
<left class="sized" style="--w: 50%"> <left style="--w: 50%">
<p>Team folders to help you stay organized, store brand assets, and manage content</p> <p>Team folders to help you stay organized, store brand assets, and manage content</p>
<p>Plan, create, schedule and publish your social media posts directly from Canva</p> <p>Plan, create, schedule and publish your social media posts directly from Canva</p>
<p>Real-time collaboration across countries, companies, and departments</p> <p>Real-time collaboration across countries, companies, and departments</p>
@ -95,16 +96,16 @@
</right> </right>
</block> </block>
<button class="center sized" style="--w: 150px">See work solutions</button> <button class="center" style="--w: 150px">See work solutions</button>
</block> </block>
<hr/> <hr/>
<block class="center center-text sized" style="--w: 80vw"> <block class="center center-text" style="--w: 80vw">
<h1>A perfect fit for every team</h1> <h1>A perfect fit for every team</h1>
<hr/> <hr/>
<grid style="--cols: 1fr 1fr 1fr"> <grid style="--cols: 3;">
<block> <block>
<h4>Canva Free</h4> <h4>Canva Free</h4>
<p>Bitters DIY semiotics, banjo tilde fingerstache church-key woke pitchfork yr pickled tattooed yuccie. vetica vegan, chartreuse intelligentsia affogato craft beer poutine viral health got</p> <p>Bitters DIY semiotics, banjo tilde fingerstache church-key woke pitchfork yr pickled tattooed yuccie. vetica vegan, chartreuse intelligentsia affogato craft beer poutine viral health got</p>
@ -151,8 +152,9 @@
<hr/> <hr/>
<block class="sized" style="--h: 400px; border-top: 1px solid var(--value5); --text: 9;"> <block style="--h: 400px; border-top: 1px solid var(--value6); --value: 0; --text: 9;">
<h1>Footer</h1> <h1>Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -22,14 +22,15 @@ block > * {
</head> </head>
<body> <body>
<block class="horizontal pad"> <blockstart>
<block class="horizontal">
<a href="/blockstart/demos/">=</a> <a href="/blockstart/demos/">=</a>
<div>logo</div> <div>logo</div>
<button class="no-flex">Send A Gift</button> <button class="no-flex border">Send A Gift</button>
</block> </block>
<block class="solid"> <block class="horizontal" style="--value: 7">
<block class="center-self sized pad" style="--w: 600px;"> <block class="center-self" style="--w: 600px; --value: 7;">
<h1>Invest early,<br>grow together.</h1> <h1>Invest early,<br>grow together.</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.<p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.<p>
@ -40,21 +41,10 @@ block > * {
<li>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</li> <li>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</li>
</ul> </ul>
<button class="no-flex pad border" <button class="border center-text"
style="align-self: start; padding-left: 2rem; padding-right: 2rem;"> style="--w: 300px; --pad: 20px; font-size: 1.4em; align-self: start;">
Get Started Get Started
</button> </button>
<span class="no-flex">
<button class="pad border solid"
style="align-self: start; --value: 0; color: var(--value9);">
App Store
</button>
<button class="pad border solid"
style="align-self: start; --value: 0; color: var(--value9);">
Google Play
</button>
</span>
</block> </block>
<shape style="--w: 500px; --h: 600px;"> <shape style="--w: 500px; --h: 600px;">
@ -62,19 +52,17 @@ block > * {
</shape> </shape>
</block> </block>
<content class="center sized pad" style="--w: 800px;">> <block class="center">
<featured class="center center-text" style="padding-top: 3rem; --w: 800px;">
<block class="center center-text sized" style="--h: 200px; padding-top: 3rem;"> <h4>WE’VE PARTNERED WITH THE BEST IN FAMILY AND FINANCE</h4>
<h4>As Featured In</h4> <grid style="--cols: 3; --rows: 1">
<block class="horizontal"> <span>what to expect</span>
<span>Yahoo!</span> <span>babylist</span>
<span>TechCrunch</span> <span>BlackRock</span>
<span>MarketWatch</span> </grid>
<span>Business Insider</span> </featured>
</block>
</block>
<block class="center center-text"> <parents class="center center-text">
<h3>FOR PARENTS</h3> <h3>FOR PARENTS</h3>
<h1>Invest today,<br> <h1>Invest today,<br>
and change their<br> and change their<br>
@ -84,11 +72,12 @@ block > * {
<shape style="--w: 300px; --h: 500px;"> <shape style="--w: 300px; --h: 500px;">
<h1>Phone</h1> <h1>Phone</h1>
</shape> </shape>
<block class="center-self sized" style="--w: 300px;">
<build class="center-self" style="--w: 300px;">
<h4> Build your nest</h4> <h4> Build your nest</h4>
<span>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</span> <span>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</span>
</block> </build>
</block> </parents>
<hr> <hr>
@ -122,7 +111,7 @@ block > * {
<block class="center center-text"> <block class="center center-text">
<h1>See how we're different.</h1> <h1>See how we're different.</h1>
<grid style="--cols: 1fr 1fr 1fr;"> <grid style="--cols: 3;">
<block> <block>
<shape style="--w: 80px; --h: 80px;"> <shape style="--w: 80px; --h: 80px;">
Image Image
@ -152,21 +141,21 @@ block > * {
</block> </block>
</grid> </grid>
</block> </block>
</content> </block>
<block class="center center-text solid pad"> <block class="center center-text solid" style="--w: 800px; --pad: 30px;">
<h2>Already have a 529?</h2> <h2>Already have a 529?</h2>
<p class="center sized" style="--w: 50%">I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p> <p class="center" style="--w: 50%">I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p>
<button class="no-flex">See FAQs</button> <button class="border center-text center-self" style="--w: 95%; --pad: 2rem;">See FAQs</button>
</block> </block>
<block class="center center-text solid pad"> <block class="center center-text solid" style="--w: 800px; --pad: 30px;">
<h2>Get ready to build the next.</h2> <h2>Get ready to build the next.</h2>
<p class="center sized" style="--w: 50%">I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p> <p class="center" style="--w: 50%">I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p>
<button class="no-flex">Get Started</button> <button class="border center" style="--pad: 2rem;">Get Started</button>
</block> </block>
<content class="center sized center-text pad" style="--w: 800px;"> <block class="center center-text" style="--w: 800px;">
<hr> <hr>
<block class="center center-text"> <block class="center center-text">
@ -189,16 +178,17 @@ block > * {
</shape> </shape>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p>
</block> </block>
</content> </block>
<block class="solid sized center center-text" style="--h: 500px;; "> <block class="solid center center-text" style="--h: 500px;">
<h1 class="no-flex">It's time to build the nest.</h1> <h1 class="no-flex">It's time to build the nest.</h1>
<p class="no-flex">Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p> <p class="no-flex">Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
<button class="no-flex pad">Get Started</button> <button class="no-flex border center-text" style="--pad: 1rem;">Get Started</button>
</block> </block>
<block class="solid sized center" style="--h: 800px; --value: 3; --text: 9;"> <block style="--h: 800px; --w: 100%; --value: 3; --text: 9; margin-top: 2rem;">
<h1 class="no-flex">Footer</h1> <h1 class="no-flex">Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -19,6 +19,7 @@
grid-template-rows: auto; grid-template-rows: auto;
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
grid-gap: 1rem; grid-gap: 1rem;
max-width: 1080px;
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
@ -30,6 +31,8 @@
</head> </head>
<body> <body>
<blockstart>
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;"> <block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/">blockstart.css</a> <a href="/blockstart/">blockstart.css</a>
<div class="horizontal" style="--spacing: end;"> <div class="horizontal" style="--spacing: end;">
@ -40,10 +43,10 @@
</div> </div>
</block> </block>
<content class="pad center" style="--pad: 2rem;"> <block class="pad center" style="--pad: 2rem;">
<h1>Demos</h1> <h1>Demos</h1>
<p>Here are a few simple demos of using <a href="/blockstart/blockstart.css">blockstart.css</a> to create copies of landing pages. Copying other websites is a great way to learn web development. The text in the demos is either taken from the "inspiration" site, or is from <a href="https://hipsum.co/">hipster ipsum</a>.</p> <p class="no-flex">Here are a few simple demos of using <a href="/blockstart/blockstart.css">blockstart.css</a> to create copies of landing pages. Copying other websites is a great way to learn web development. The text in the demos is either taken from the "inspiration" site, or is from <a href="https://hipsum.co/">hipster ipsum</a>.</p>
<block class="solid pad border" style="--value: 0; --text: 9; --pad: 2rem;"> <block class="solid pad border" style="--value: 0; --text: 9; --pad: 2rem;">
<p class="no-flex"><b>WARNING</b> The entire point of this project is to remove irrelevant details in the beginning of a project. Making a web page work on every imaginable aspect ratio just so Google and Apple don't have to make their browsers work correctly is exactly the kind of detail people should ignore when they start. What that means is <b>NONE</b> of these demos work on mobile. Maybe they do, maybe they don't, but they are on desktop because I use a desktop to make them and that's the easiest start. Nothing prevents you from starting with moblile using <a href="/blockstart/blockstart.css">blockstart.css</a> if you like "mobile first", so don't take me avoiding it <b>in the start</b> as some indication of a flaw. It's a choice, and I am aware of it.</p> <p class="no-flex"><b>WARNING</b> The entire point of this project is to remove irrelevant details in the beginning of a project. Making a web page work on every imaginable aspect ratio just so Google and Apple don't have to make their browsers work correctly is exactly the kind of detail people should ignore when they start. What that means is <b>NONE</b> of these demos work on mobile. Maybe they do, maybe they don't, but they are on desktop because I use a desktop to make them and that's the easiest start. Nothing prevents you from starting with moblile using <a href="/blockstart/blockstart.css">blockstart.css</a> if you like "mobile first", so don't take me avoiding it <b>in the start</b> as some indication of a flaw. It's a choice, and I am aware of it.</p>
@ -51,7 +54,7 @@
<hr> <hr>
<grid id="demo-grid"> <grid class="center-self" id="demo-grid">
<shape><a href="asana.html">Asana</a></shape> <shape><a href="asana.html">Asana</a></shape>
<shape><a href="canva.html">Canva</a></shape> <shape><a href="canva.html">Canva</a></shape>
<shape><a href="todoist.html">Todoist</a></shape> <shape><a href="todoist.html">Todoist</a></shape>
@ -60,11 +63,11 @@
<shape><a href="vimeo.html">Vimeo</a></shape> <shape><a href="vimeo.html">Vimeo</a></shape>
<shape><a href="wordstream.html">Wordstream</a></shape> <shape><a href="wordstream.html">Wordstream</a></shape>
<shape><a href="breadcrumbs.html">Breadcrumbs</a></shape> <shape><a href="breadcrumbs.html">Breadcrumbs</a></shape>
<shape><a href="breadcrumbs-2.html">Breadcrumbs #2</a></shape>
<shape><a href="breadcrumbs-3.html">Breadcrumbs #3</a></shape>
<shape><a href="snapchat.html">Snapchat</a></shape> <shape><a href="snapchat.html">Snapchat</a></shape>
<shape><a href="patreon.html">Patreon</a></shape>
<shape><a href="slack.html">Slack</a></shape>
<shape><a href="zoom.html">Zoom</a></shape>
</grid> </grid>
</content> </block>
</blockstart>
</body> </body>
</html> </html>

@ -14,6 +14,7 @@
</head> </head>
<body> <body>
<blockstart>
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;"> <block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/">blockstart.css</a> <a href="/blockstart/">blockstart.css</a>
<div class="horizontal" style="--spacing: end;"> <div class="horizontal" style="--spacing: end;">
@ -25,5 +26,6 @@
</block> </block>
<h1>Coming soon...</h1> <h1>Coming soon...</h1>
</blockstart>
</body> </body>
</html> </html>

@ -1,273 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blockstart Patreon Demo</title>
<link rel="stylesheet" href="/blockstart/blockstart.css">
<style>
h1 {
font-size: 3em;
}
block {
margin-top: 2rem;
}
header {
display: flex;
flex-direction: column;
margin-top: 0px;
padding-left: 1rem;
padding-right: 1rem;
padding-top: 0.3rem;
padding-bottom: 1rem;
}
input.search {
border-radius: 25px;
padding: 0.8rem;
border: 0px;
background-color: var(--value8);
margin-top: 0.5rem;
}
header a {
text-decoration: none;
}
a#logo-link {
font-size: 2em;
font-weight: 600;
}
a.button {
background-color: var(--value4);
color: var(--value9);
padding: 0.8rem;
border-radius: 25px;
text-align: center;
}
header > logo {
display: flex;
flex-direction: row;
justify-content: space-between;
}
header > logo buttons {
display: flex;
justify-content: space-between;
align-items: center;
min-width: 300px;
}
hero {
display: flex;
flex-direction: column;
background-color: var(--value1);
color: var(--value9);
padding: 2rem;
}
a#get-started {
max-width: 150px;
}
pitch {
display: flex;
flex-direction: column;
text-align: center;
padding: 2rem;
height: 400px;
min-height: 400px;
width: 80vw;
min-width: 80vw;
}
pitch > search {
display: flex;
flex-direction: column;
}
pitch > search .button {
margin-top: 0.5rem;
}
content-creator {
display: flex;
flex-direction: column;
margin-top: 1rem;
}
content-creator > h2 {
margin: 0px;
}
social-proof {
display: flex;
flex-direction: column;
text-align: center;
max-width: 80vw;
align-self: center;
}
social-proof > h1 {
margin-bottom: 0px;
}
social-proof > p {
font-size: 1.2em;
}
social-proof > artists {
margin-top: 1rem;
font-size: 1.5rem;
font-weight: 400;
}
social-proof > artists a {
text-decoration: none;
color: var(--value4);
}
cta {
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
}
footer {
display: flex;
justify-content: space-between;
background-color: var(--value2);
color: var(--value9);
min-height: 800px;
}
</style>
</head>
<body>
<header>
<logo>
<a d="logo-link" href="/blockstart/demos/">P</a>
<buttons>
<a href="#">Log In</a>
<a class="button" href="#">Create on Patreon</a>
<a href="#">=</a>
</buttons>
</logo>
<input class="search" type="text" placeholder="Find a creator"></input>
</header>
<hero>
<h1>Flexitarian Vice Poutine Synth</h1>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
<a id="get-started" class="button">Get started</a>
<hr>
<shape style="--h: 400px">
<h1>Video</h1>
</shape>
</hero>
<content class="pad">
<pitch>
<h1 class="center">Thundercats Tonx Pok Pok Pork</h1>
<search>
<input class="search" type="text" placeholder="Find a creator"></input>
<a class="button">Search</a>
</search>
</pitch>
<pitch>
<h1>What's Patreon?</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p>
</pitch>
<content-creator>
<h2>Thundercats Tonx Pok Pok Pork</h2>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
<shape style="--h: 600px;">
<h1>Person</h1>
</shape>
<a href="#">Person Name</a>
<p>Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter.</p>
</content-creator>
<content-creator>
<h2>Flexitarian Vice Poutine Synth</h2>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
<shape style="--h: 600px;">
<h1>Person</h1>
</shape>
<a href="#">Person Name</a>
<p>Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter.</p>
</content-creator>
<content-creator>
<h2>This is another example block</h2>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
<shape style="--h: 600px;">
<h1>Person</h1>
</shape>
<a href="#">Person Name</a>
<p>Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter.</p>
</content-creator>
<social-proof>
<h1>Who uses Patreon?</h1>
<p>
If you’re ready to take your work to the next level and willing to open your heart to your audience, Patreon is for you.
</p>
<artists>
<a href="#">Flexitarian</a>
<a href="#">Vice</a>
<a href="#">Poutine</a>
<a href="#">Synth</a>
<a href="#">Thundercats</a>
<a href="#">Tonx</a>
<a href="#">Pok</a>
<a href="#">Pok</a>
<a href="#">Pork</a>
<a href="#">Synth</a>
<a href="#">Thundercats</a>
<a href="#">Tonx</a>
<a href="#">Pok</a>
<a href="#">Pok</a>
<a href="#">Pork</a>
</artists>
<hr>
<shape style="--h: 500px; --w: 800px;">
<h1>People Scroller</h1>
</shape>
</social-proof>
<cta>
<h1>Are you ready to take back control?</h1>
<a id="get-started" class="button">Get started</a>
</cta>
</content>
<footer>
<left>
<h1>Footer</h1>
</left>
<right>
<h1>Links</h1>
</right>
</footer>
</body>
</html>

@ -1,131 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blockstart Patreon Demo</title>
<link rel="stylesheet" href="/blockstart/blockstart.css">
<style>
h1 {
font-size: 3em;
}
block {
margin-top: 2rem;
}
</style>
</head>
<body>
<block class="pad" style="margin-top: 0px;">
<block class="horizontal pad" style="--spacing: space-around; width: unset; margin-top: 0px;">
<a href="/blockstart/demos/">P</a>
<div class="horizontal" style="--spacing: end;">
<a href="#">Log In</a>
<a href="#">Create</a>
<a href="#">=</a>
</div>
</block>
<input type="text" placeholder="Find a creator"></input>
</block>
<block class="solid pad sized" style="--value: 1; --text: 9; --h: 700px;">
<h1>Flexitarian Vice Poutine Synth</h1>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
<div class="no-flex">
<button class="pad">Get started</button>
</div>
<hr>
<shape style="--h: 400px">
<h1>Video</h1>
</shape>
</block>
<content class="pad">
<block class="center center-text pad sized" style="--pad: 2rem; --h: 400px; --w: 80vw;">
<h1 class="center">Thundercats Tonx Pok Pok Pork</h1>
<block>
<input class="solid" style="--value: 8" type="text" placeholder="Find a creator"></input>
<button class="solid" style="--value: 5">Search</button>
</block>
</block>
<block class="center center-text pad" style="--pad: 2rem;">
<h1>What's Patreon?</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p>
</block>
<block>
<h2>Thundercats Tonx Pok Pok Pork</h2>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
<shape style="--h: 600px;">
<h1>Person</h1>
</shape>
<a href="#">Person Name</a>
<p>Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter.</p>
</block>
<block>
<h2>Flexitarian Vice Poutine Synth</h2>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
<shape style="--h: 600px;">
<h1>Person</h1>
</shape>
<a href="#">Person Name</a>
<p>Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter.</p>
</block>
<block>
<h2>This is another example block</h2>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
<shape style="--h: 600px;">
<h1>Person</h1>
</shape>
<a href="#">Person Name</a>
<p>Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter.</p>
</block>
<block class="center center-text">
<h1>Who uses Patreon?</h1>
<hr>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
<hr style="--h: 2rem;">
<div class="no-flex" style="font-size: 1.5em;">
<span>Flexitarian</span>
<span>Vice</span>
<span>Poutine</span>
<span>Synth</span>
<span>Thundercats</span>
<span>Tonx</span>
<span>Pok</span>
<span>Pok</span>
<span>Pork</span>
</div>
<hr>
<shape style="--h: 500px; --w: 800px;">
<h1>People Scroller</h1>
</shape>
</block>
<block class="center center-text">
<h1>Are you ready to take back control?</h1>
<button class="no-flex">Get started</button>
</block>
</content>
<block class="solid center center-text sized" style="--h: 800px; --value: 2; --text: 9;">
<h1>Footer</h1>
</block>
</body>
</html>

@ -14,6 +14,7 @@
</head> </head>
<body> <body>
<blockstart>
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;"> <block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/">blockstart.css</a> <a href="/blockstart/">blockstart.css</a>
<div class="horizontal" style="--spacing: end;"> <div class="horizontal" style="--spacing: end;">
@ -25,5 +26,6 @@
</block> </block>
<h1>Coming soon...</h1> <h1>Coming soon...</h1>
</blockstart>
</body> </body>
</html> </html>

@ -1,153 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blockstart Slack Demo</title>
<link rel="stylesheet" href="/blockstart/blockstart.css">
<style>
</style>
</head>
<body class="solid" style="--value: 8">
<block class="horizontal pad solid" style="--value: 2; --spacing: space-around; width: unset; --text: 9">
<a href="/blockstart/demos/">SLACK</a>
<div class="horizontal" style="--spacing: end;">
<a href="#">Q</a> &nbsp;
<a href="#">=</a> &nbsp;
</div>
</block>
<block class="solid pad" style="--value: 2; --text: 9; --pad: 3rem;">
<h1>Flexitarian Vice Poutine Synth</h1>
<p>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac..</p>
<button style="--text: 0">Sign up with email</button>
<button style="--text: 0">Sign up with google</button>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
<hr>
<shape style="--w: 700px; --h: 400px;">
<h1>Phone Demo</h1>
</shape>
</block>
<block class="pad center center-text" style="--pad: 2rem;">
<h4>TRUSTED BY COMPANIES ALL OVER THE WORLD</h4>
<hr>
<div style="font-size: 1.5em;">Flexitarian Vice Poutine Synth Flexitarian Vice Poutine Synth</div>
</block>
<block class="horizontal" style="--spacing: start">
<shape style="--h: 800px; --w: 400px;">
<h1>People Dancing For Work</h1>
</shape>
</block>
<block>
<h2>Thundercats Tonx Pok Pok Pork</h2>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa.</p>
<a href="#">Link to stuff.</a>
</block>
<hr>
<block class="horizontal" style="--spacing: end">
<shape style="--h: 800px; --w: 400px;">
<h1>People Dancing For Work</h1>
</shape>
</block>
<block>
<h2>Thundercats Tonx Pok Pok Pork</h2>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa.</p>
<a href="#">Link to stuff.</a>
</block>
<hr>
<block class="horizontal" style="--spacing: start">
<shape style="--h: 800px; --w: 400px;">
<h1>People Dancing For Work</h1>
</shape>
</block>
<block>
<h2>Thundercats Tonx Pok Pok Pork</h2>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa.</p>
<a href="#">Link to stuff.</a>
</block>
<hr>
<block class="center solid sized" style="--value: 9; --w: 100%;">
<block class="center-self sized center-text pad" style="--w: 80%;">
<h1>Thundercats Tonx Pok Pok Pork</h1>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
<button class="pad">MEET SLACK FOR ENTERPRISE</button>
<button class="pad">TALK TO SALES</button>
</block>
<grid class="center-self sized" style="--cols: 1fr 1fr 1fr; --w: 80%;">
<block>
<h1>75%</h1>
<span>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</span>
</block>
<block>
<h1>84%</h1>
<span>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</span>
</block>
<block>
<h1>91%</h1>
<span>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</span>
</block>
</grid>
</block>
<shape style="--h: 400px">
<h1>Video</h1>
</shape>
<block class="solid pad" style="--value: 9">
<blockquote>
"I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa." -- <b>Quote Person</b>
</blockquote>
</block>
<hr>
<grid style="--cols: 1fr 1fr 1fr 1fr; --gap: 1rem;">
<shape style="--w: 200px; --h: 400px;">
<h1>Card</h1>
</shape>
<shape style="--w: 200px; --h: 400px;">
<h1>Card</h1>
</shape>
<shape style="--w: 200px; --h: 400px;">
<h1>Card</h1>
</shape>
<shape style="--w: 200px; --h: 400px;">
<h1>Card</h1>
</shape>
</grid>
<hr>
<block class="solid center sized" style="--value: 2; --text: 9; --w: 100%">
<block class="sized center-self center-text" style="--w: 80%">
<h1>Welcome to your new digital HQ</h1>
<button class="pad" style="--text: 0;">TRY FOR FREE</button>
<button class="pad" style="--text: 0;">TALK TO SALES</button>
</block>
</block>
<hr>
<block class="sized solid" style="--value: 9; --h: 700px;">
<h1>Footer</h1>
</block>
</body>
</html>

@ -8,15 +8,18 @@
<link rel="stylesheet" href="/blockstart/blockstart.css"> <link rel="stylesheet" href="/blockstart/blockstart.css">
<style> <style>
</style> body {
background-color: var(--value8);
}
</style>
</head> </head>
<body class="solid" style="--value: 8"> <body style="--value: 8">
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;"> <blockstart style="background-color: var(--value8);">
<block class="horizontal" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/demos/">snap</a> <a href="/blockstart/demos/">snap</a>
<div class="horizontal" style="--spacing: space-evenly;"> <div class="horizontal" style="--spacing: space-between; gap: 10px;">
<a href="#">Advertisers</a> <a href="#">Advertisers</a>
<a href="#">Creators</a> <a href="#">Creators</a>
<a href="#">Developers</a> <a href="#">Developers</a>
@ -26,8 +29,8 @@
</div> </div>
</block> </block>
<block class="sized" style="--h: 500px;"> <block style="--h: 500px;">
<div class="center sized" style="--h: min-content;"> <div class="center" style="--h: min-content;">
<h1>Open your <br> <h1>Open your <br>
Snapchat. Snapchat.
</h1> </h1>
@ -44,20 +47,20 @@
</block> </block>
<hr> <hr>
<block class="sized center horizontal" style="--w: 500px;"> <block class="horizontal">
<screen> <screen>
<shape style="--w: 150px; --h: 300px;"> <shape style="--w: 150px; --h: 300px;">
<h1>Screen</h1> <h1>Screen</h1>
</shape> </shape>
</screen> </screen>
<signup class="pad"> <signup>
<h1>Express yourself with millions of Lenses.</h1> <h1>Express yourself with millions of Lenses.</h1>
</signup> </signup>
</block> </block>
<hr> <hr>
<block class="sized center horizontal" style="--w: 500px;"> <block class="horizontal">
<signup class="pad"> <signup>
<h1>Express yourself with millions of Lenses.</h1> <h1>Express yourself with millions of Lenses.</h1>
</signup> </signup>
<screen> <screen>
@ -68,20 +71,20 @@
</block> </block>
<hr> <hr>
<block class="sized center horizontal" style="--w: 500px;"> <block class="horizontal">
<screen> <screen>
<shape style="--w: 150px; --h: 300px;"> <shape style="--w: 150px; --h: 300px;">
<h1>Screen</h1> <h1>Screen</h1>
</shape> </shape>
</screen> </screen>
<signup class="pad"> <signup>
<h1>Express yourself with millions of Lenses.</h1> <h1>Express yourself with millions of Lenses.</h1>
</signup> </signup>
</block> </block>
<hr> <hr>
<block class="sized center horizontal" style="--w: 500px;"> <block class="horizontal">
<signup class="pad"> <signup>
<h1>Express yourself with millions of Lenses.</h1> <h1>Express yourself with millions of Lenses.</h1>
</signup> </signup>
<screen> <screen>
@ -92,12 +95,12 @@
</block> </block>
<hr> <hr>
<block class="center center-text"> <block class="center-text">
<shape style="--w: 200px; --h: 250px;"> <shape style="--w: 200px; --h: 250px;">
<h1>Ghost</h1> <h1>Ghost</h1>
</shape> </shape>
<block class="horizontal"> <block class="horizontal center">
<select> <select>
<option>US +1</option> <option>US +1</option>
<input placeholder="Phone Number"> <input placeholder="Phone Number">
@ -110,8 +113,9 @@
<h1>Developers</h1> <h1>Developers</h1>
</block> </block>
<block class="sized solid" style="--h: 400px; --value: 9"> <block style="--h: 400px; --value: 9">
<h1 class="center">Footer</h1> <h1 class="center">Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -16,17 +16,28 @@ h1 {
</head> </head>
<body> <body>
<blockstart>
<block class="horizontal pad"> <block class="horizontal pad">
<h4><a href="/blockstart/demos/">square</a></h4> <h4><a href="/blockstart/demos/">square</a></h4>
<h4 class="no-flex" style="align-self: end;">S | =</h4> <h4 class="no-flex" style="align-self: end;">S | =</h4>
</block> </block>
<block class="pad sized center" style="--w: 80vw; --pad: 2rem;"> <block class="horizontal" style="--pad: 2rem;">
<h1>Flexible business solutions that work for you.</h1> <left style="--w: 50%">
<div>
<h1>Power your business with square.</h1>
<p>Millions of brands of all sizes trust Square to accept payments, build customer relationships, and grow their business in-store and online.</p>
</div>
<block class="horizontal" style="--spacing: start;"> <block class="horizontal" style="--spacing: start;">
<button class="no-flex pad border">get started</button> <button class="no-flex border" style="--pad: 1rem;">get started</button>
<button class="no-flex pad border">contact sales</button> <button class="no-flex border" style="--pad: 1rem;">contact sales</button>
</block> </block>
</left>
<shape style="--w: 50%; --h: 400px;">
<h1>Image</h1>
</shape>
</block> </block>
<hr> <hr>
@ -35,8 +46,8 @@ h1 {
</shape> </shape>
<hr> <hr>
<content class="center sized" style="--w: 80vw;"> <block class="center" style="--w: 80vw;">
<block class="sized" style="--h: 300px;"> <block class="compact" style="--h: 300px;">
<h1 class="center">Tools that connect every side of your business.</h1> <h1 class="center">Tools that connect every side of your business.</h1>
</block> </block>
@ -50,27 +61,27 @@ h1 {
<hr> <hr>
<block class="horizontal" style="--spacing: start"> <block class="horizontal" style="--spacing: start">
<button class="no-flex">Point of sale</button> <button class="border">Point of sale</button>
<button class="no-flex">Online store</button> <button class="border">Online store</button>
<button class="no-flex">Payments</button> <button class="border">Payments</button>
</block> </block>
</top> </top>
<bottom> <bottom>
<shape style="--w: 80vw; --h: 300px;"> <shape style="--w: 100%; --h: 300px;">
<h1>Ipad</h1> <h1>Ipad</h1>
</shape> </shape>
</bottom> </bottom>
</block> </block>
</content> </block>
<block class="sized center" style="--h: 300px; --w: 80vw;"> <block class="center" style="--h: 300px; --w: 80vw;">
<h1 class="center">Solution sets for every business type and size.</h1> <h1 class="center">Solution sets for every business type and size.</h1>
</block> </block>
<hr> <hr>
<grid style="font-size: 1.5em; --cols: 1fr; --rows: 1fr 1fr 1fr 1fr"> <grid style="font-size: 1.5em; --cols: 1; --rows: 4;">
<block class="horizontal pad" style="--pad: 1.5rem; border-bottom: 1px solid var(--value5);"> <block class="horizontal pad" style="--pad: 1.5rem; border-bottom: 1px solid var(--value5);">
<h4>Retail</h4> <h4>Retail</h4>
<span class="no-flex">+</span> <span class="no-flex">+</span>
@ -90,7 +101,7 @@ h1 {
</grid> </grid>
<hr> <hr>
<block class="sized" style="--w: 80vw; --h: 300px;"> <block style="--w: 80vw; --h: 300px;">
<h1 class="center">Meet the new Square Stand.</h1> <h1 class="center">Meet the new Square Stand.</h1>
</block> </block>
@ -99,7 +110,7 @@ h1 {
</shape> </shape>
<hr> <hr>
<block class="center sized" style="--spacing: start; --w: 80vw; --h: 300px"> <block class="center" style="--spacing: start; --w: 80vw; --h: 300px">
<h3>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</h3> <h3>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</h3>
<div>$149 or blah blah</div> <div>$149 or blah blah</div>
@ -108,8 +119,8 @@ h1 {
</block> </block>
<hr> <hr>
<content class="solid"> <block class="solid">
<block class="center sized" style="--w: 80vw; --h: 200px;"> <block class="solid center" style="--w: 80vw; --h: 200px;">
<h1>Resources to keep you moving forward.</h1> <h1>Resources to keep you moving forward.</h1>
<div>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</div> <div>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</div>
<a href="">Visit our fill resource hub</a> <a href="">Visit our fill resource hub</a>
@ -120,7 +131,7 @@ h1 {
</shape> </shape>
<hr> <hr>
<block class="center sized" style="--w: 80vw; --h: 200px;"> <block class="center solid" style="--w: 80vw; --h: 200px;">
<h3>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</h3> <h3>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</h3>
<div>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</div> <div>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</div>
<a href="">Visit our fill resource hub</a> <a href="">Visit our fill resource hub</a>
@ -130,10 +141,10 @@ h1 {
<h1>Person</h1> <h1>Person</h1>
</shape> </shape>
<hr> <hr>
</content> </block>
<block class="center sized pad" style="--w: 80vw;"> <block class="center" style="--w: 80vw;">
<h1>Get real support.</h1> <h1>Get real support.</h1>
<hr> <hr>
@ -152,9 +163,10 @@ h1 {
<hr> <hr>
<block class="sized solid center-text" style="--value: 0; --text: 9; --h: 500px;"> <block class="solid center-text" style="--value: 0; --text: 9; --h: 500px;">
<h1>Footer</h1> <h1>Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -1,4 +1,3 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
@ -15,6 +14,7 @@
</head> </head>
<body> <body>
<blockstart>
<block class="horizontal pad"> <block class="horizontal pad">
<a href="/blockstart/demos/">todoist</a> <a href="/blockstart/demos/">todoist</a>
<div style="align-items: end;"> <div style="align-items: end;">
@ -31,10 +31,10 @@
<block class="center-text solid"> <block class="center-text solid">
<h1>Organize your work</h1> <h1>Organize your work</h1>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p> <p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
<button class="center-self">Start For Free</button> <button class="center-self center-text" style="--w: 300px; --h: 100px;">Start For Free</button>
<hr> <hr>
<shape style="--w: 400px; --h: 200px;"><h1>Screenshot</h1></shape> <shape style="--w: 400px; --h: 200px;"><h1>Screenshot</h1></shape>
<block class="pad horizontal"> <block class="pad horizontal solid">
<left> <left>
300,000 reviews 300,000 reviews
</left> </left>
@ -46,13 +46,13 @@
<hr> <hr>
<content class="sized center" style="--w: 70vw;"> <block class="sized center" style="--w: 70vw;">
<block class="horizontal"> <block class="horizontal" style="--spacing: space-evenly">
<left> <left style="--w: 50%">
<h2>Add your tasks.</h2> <h2>Add your tasks.</h2>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p>
</left> </left>
<right> <right style="--w: 50%">
<shape style="--w: 150px; --h: 300px;"> <shape style="--w: 150px; --h: 300px;">
<h1>Phone</h1> <h1>Phone</h1>
</shape> </shape>
@ -61,12 +61,12 @@
<hr> <hr>
<block class="horizontal center center-text"> <block class="horizontal center center-text">
<left> <left style="--w: 50%">
<shape style="--w: 150px; --h: 300px;"> <shape style="--w: 150px; --h: 300px;">
<h1>Phone</h1> <h1>Phone</h1>
</shape> </shape>
</left> </left>
<right> <right style="--w: 50%">
<h2>Flexitarian Vice Poutine Synth</h2> <h2>Flexitarian Vice Poutine Synth</h2>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar. Flexitarian vice poutine synth affogato small batch XOXO ramps jianbing quinoa. Quinoa intelligentsia actually, gochujang lomo art party lo-fi kickstarter. Offal franzen fixie, humblebrag tote bag irony jianbing leggings tbh small batch fingerstache hell of tumblr selvage.</p>
</right> </right>
@ -113,7 +113,7 @@
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p> <p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
<hr> <hr>
<grid style="--cols: 1fr 1fr; --rows: 1fr 1fr"> <grid style="--cols: 2; --rows: 2;">
<block> <block>
<shape style="--w: 80px; --h: 80px;">Icon</shape> <shape style="--w: 80px; --h: 80px;">Icon</shape>
<h5>30 million+</h5> <h5>30 million+</h5>
@ -136,7 +136,7 @@
</block> </block>
</grid> </grid>
</block> </block>
</content> </block>
<hr> <hr>
<block class="horizontal solid"> <block class="horizontal solid">
@ -151,5 +151,6 @@
<block class="sized solid center-text" style="--h: 500px;"> <block class="sized solid center-text" style="--h: 500px;">
<h1>Footer</h1> <h1>Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -14,6 +14,7 @@
</head> </head>
<body> <body>
<blockstart>
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;"> <block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/">blockstart.css</a> <a href="/blockstart/">blockstart.css</a>
<div class="horizontal" style="--spacing: end;"> <div class="horizontal" style="--spacing: end;">
@ -25,5 +26,6 @@
</block> </block>
<h1>Coming soon...</h1> <h1>Coming soon...</h1>
</blockstart>
</body> </body>
</html> </html>

@ -14,36 +14,37 @@
</head> </head>
<body> <body>
<block class="solid horizontal pad" style="--value: 0; --text: 9; --spacing: space-around; width: unset;"> <blockstart>
<block class="horizontal" style="--value: 0; --text: 9; --spacing: space-around; width: unset;">
<a href="/blockstart/demos/">vimeo</a> <a href="/blockstart/demos/">vimeo</a>
<div class="horizontal" style="--spacing: end;"> <div class="horizontal" style="--spacing: end;">
<button>New video</button> <button>New video</button>
</div> </div>
</block> </block>
<block class="center-text solid pad" style="--value: 0; --text: 9;"> <block class="center-text" style="--h: 600px; --value: 0; --text: 9;">
<h1>Scrolling thing</h1> <h1 style="font-size: 3em;">Scrolling thing</h1>
<h1>With Vimeo</h1> <h1 style="font-size: 3em;">With Vimeo</h1>
<block class="center horizontal sized" style="--w: 60vw; --text: 0"> <button-list class="center horizontal sized" style="--w: 60vw; --text: 0">
<button>See plans</button> <button class="border center-text" style="padding: 1.3em;">See plans</button>
<button>Join for free</button> <button class="border center-text" style="padding: 1.3em;">Join for free</button>
</block> </button-list>
</block> </block>
<block class="pad"> <block>
<shape style="--w: 450px; --h: 500px"> <shape style="--w: 450px; --h: 500px">
<h1>Scroll Sample</h1> <h1>Scroll Sample</h1>
</shape> </shape>
</block> </block>
<block class="pad"> <block>
<p>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p> <p>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p> <p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
</block> </block>
<block class="pad solid" style="--pad: 2rem; --value: 0; --text: 9;"> <block class="horizontal" style="--pad: 2rem; --value: 0; --text: 9;">
<shape class="border" style="--value: 9; --text: 0; --h: 400px; --w: 300px;"> <shape class="border" style="--value: 9; --text: 0; --h: 400px; --w: 300px;">
<h1>Video Marketing</h1> <h1>Video Marketing</h1>
</shape> </shape>
@ -55,48 +56,48 @@
</shape> </shape>
</block> </block>
<block class="sized center pad" style="--w: 80vw;"> <block class="horizontal center" style="--w: 80vw;">
<block class="center-text"> <block class="center-text" style="--w: 50%">
<h4>INTEGRATIONS</h4> <h4>INTEGRATIONS</h4>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p> <p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
</block> </block>
<grid class="center sized pad" style="--cols: 1fr 1fr; --pad: 2rem"> <grid class="center sized" style="--w: 50%; --cols: 3; --pad: 2rem">
<block class="center-text pad"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
<block class="center-text pad"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
<block class="center-text pad"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
<block class="center-text pad"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
<block class="center-text pad"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
<block class="center-text pad"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
<block class="center-text pad"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
<block class="center-text pad"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
<block class="center-text pad" style="grid-column: 1 / span 2"> <company class="center-text">
<h1>Company</h1> <h1>Company</h1>
</block> </company>
</grid> </grid>
</block> </block>
<block class="pad solid center-text" style="--value: 0; --text: 9; --pad: 2rem;"> <block class="center-text" style="--value: 0; --text: 9; --pad: 2rem;">
<h1>Flexitarian Vice Poutine Synth</h1> <h1>Flexitarian Vice Poutine Synth</h1>
<hr> <hr>
<shape style="--h: 400px; --value: 5;"> <shape style="--h: 400px; --value: 5; --w: 100%;">
<h1>Scroller</h1> <h1>Scroller</h1>
</shape> </shape>
@ -104,14 +105,15 @@
<h1>Ready to unlock the power of video?</h1> <h1>Ready to unlock the power of video?</h1>
<block class="center" style="--text: 0;"> <button-list class="center horizontal sized" style="--w: 60vw; --text: 0">
<button>See plans</button> <button class="border center-text" style="padding: 1.3em;">See plans</button>
<button>Join for free</button> <button class="border center-text" style="padding: 1.3em;">Join for free</button>
</block> </button-list>
</block> </block>
<block class="solid sized center" style="--value: 7; --h: 600px;"> <block style="--value: 0; --text: 9; --h: 600px;">
<h1>Footer</h1> <h1>Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -14,7 +14,8 @@
</head> </head>
<body> <body>
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;"> <blockstart>
<block class="horizontal" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/demos/">wordstream</a> <a href="/blockstart/demos/">wordstream</a>
<div class="horizontal" style="--spacing: end;"> <div class="horizontal" style="--spacing: end;">
<span>=</span> &nbsp;|&nbsp; <span>=</span> &nbsp;|&nbsp;
@ -22,7 +23,7 @@
</div> </div>
</block> </block>
<block class="solid pad"> <block class="solid">
<h1>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</h1> <h1>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</h1>
<p>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p> <p>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
@ -32,13 +33,13 @@
</block> </block>
<block class="pad"> <block>
<shape style="--w: 500px; --h: 600px; --value: 6;"> <shape style="--w: 500px; --h: 600px; --value: 6;">
<h1>Charts</h1> <h1>Charts</h1>
</shape> </shape>
</block> </block>
<block class="pad"> <block class="center">
<h1>Stop Guessing.</h1> <h1>Stop Guessing.</h1>
<h1>Get Your Grade.</h1> <h1>Get Your Grade.</h1>
@ -57,10 +58,10 @@
</div> </div>
</block> </block>
<block class="solid"> <block style="--value: 5">
<h1>The WordStream Blog</h1> <h1>The WordStream Blog</h1>
<block class="horizontal pad"> <block class="horizontal">
<shape style="--w: 200px; --h: 200px;"> <shape style="--w: 200px; --h: 200px;">
<h1>Image</h1> <h1>Image</h1>
</shape> </shape>
@ -75,10 +76,10 @@
</block> </block>
</block> </block>
<block class="pad"> <block>
<h4>More Articles</h4> <h4>More Articles</h4>
<grid style="--cols: 1fr 1fr"> <grid style="--cols: 3">
<shape style="--w: 250px; --h: 250px;"> <shape style="--w: 250px; --h: 250px;">
<h1>Image</h1> <h1>Image</h1>
</shape> </shape>
@ -92,7 +93,7 @@
</block> </block>
</block> </block>
<block class="pad"> <block>
<h1>Flexitarian Vice Poutine Synth</h1> <h1>Flexitarian Vice Poutine Synth</h1>
<h4>Thundercats Tonx Pok Pok Pork</h4> <h4>Thundercats Tonx Pok Pok Pork</h4>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p>
@ -109,18 +110,18 @@
</div> </div>
</block> </block>
<block class="pad"> <block>
<shape style="--w: 500px; --h: 600px; --value: 6;"> <shape style="--w: 500px; --h: 600px; --value: 6;">
<h1>Charts</h1> <h1>Charts</h1>
</shape> </shape>
</block> </block>
<block class="pad solid" style="--value: 4; --text: 9;"> <block style="--value: 4; --text: 9;">
<h1>Thundercats Tonx Pok Pok Pork</h1> <h1>Thundercats Tonx Pok Pok Pork</h1>
<p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p> <p>I'm baby kogi heirloom truffaut succulents plaid normcore microdosing craft beer gochujang humblebrag bitters bicycle rights gastropub keytar.</p>
<hr> <hr>
<grid class="center-self" style="--cols: 1fr 1fr;"> <grid class="center-self" style="--cols: 2">
<shape class="border" style="--value: 6; --w: 250px; --h: 100px;"> <shape class="border" style="--value: 6; --w: 250px; --h: 100px;">
<h1>300k</h1> <h1>300k</h1>
</shape> </shape>
@ -135,7 +136,7 @@
</shape> </shape>
</grid> </grid>
<block class="sized pad center-self solid border" style="--value: 9; --text: 0; --w: 80vw; margin-top: 3rem;"> <block class="center-self solid border" style="--value: 9; --text: 0; --w: 80vw; margin-top: 3rem;">
<shape style="--value: 6; --w: 200px; --h: 150px; position: relative; top: -2rem;">Computer</shape> <shape style="--value: 6; --w: 200px; --h: 150px; position: relative; top: -2rem;">Computer</shape>
<h1>Flexitarian Vice Poutine Synth</h1> <h1>Flexitarian Vice Poutine Synth</h1>
<p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p> <p>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</p>
@ -145,11 +146,11 @@
</block> </block>
</block> </block>
<block class="pad center-text center"> <block class="center-text center">
<h1>Learn More About Marketing</h1> <h1>Learn More About Marketing</h1>
<a>Link to stuff</a> <a>Link to stuff</a>
<grid style="--cols: 1fr 1fr"> <grid style="--cols: 3">
<shape style="--w: 250px; --h: 250px;"> <shape style="--w: 250px; --h: 250px;">
<h1>Image</h1> <h1>Image</h1>
</shape> </shape>
@ -162,15 +163,16 @@
</grid> </grid>
</block> </block>
<block class="solid pad center-text" style="--value: 8; --pad: 2rem;"> <block class="center-text" style="--value: 8; --pad: 2rem;">
<h1>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</h1> <h1>Cardigan raclette tbh, kitsch lomo fanny pack vegan.</h1>
<p>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p> <p>Tofu single-origin coffee cray offal gastropub hoodie edison bulb fam flannel pug tumblr celiac.</p>
</block> </block>
<block class="center solid sized" style="--value: 3; --pad: 2rem; --text: 9; --h: 700px;"> <block style="--value: 3; --text: 9; --h: 700px;">
<h1>Footer</h1> <h1>Footer</h1>
</block> </block>
</blockstart>
</body> </body>
</html> </html>

@ -1,29 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blockstart Template</title>
<link rel="stylesheet" href="/blockstart/blockstart.css">
<style>
</style>
</head>
<body>
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/">blockstart.css</a>
<div class="horizontal" style="--spacing: end;">
<a href="/blockstart/#about">About</a> &nbsp;|&nbsp;
<a href="/blockstart/#docs">Docs</a> &nbsp;|&nbsp;
<a href="/blockstart/demos/">Demos</a> &nbsp;|&nbsp;
<a href="/blockstart/blockstart.css">Download</a>
</div>
</block>
<h1>Coming soon...</h1>
</body>
</html>

@ -19,12 +19,17 @@
border-radius: var(--border-radius); border-radius: var(--border-radius);
font-size: 1.1em; font-size: 1.1em;
} }
body {
font-size: 1.2em;
}
</style> </style>
</head> </head>
<body> <body>
<block class="horizontal pad" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;"> <blockstart>
<block class="horizontal" style="border-bottom: 1px solid var(--value6); --spacing: space-around; width: unset;">
<a href="/blockstart/">blockstart.css</a> <a href="/blockstart/">blockstart.css</a>
<div class="horizontal" style="--spacing: end;"> <div class="horizontal" style="--spacing: end;">
<a href="/blockstart/#about">About</a> &nbsp;|&nbsp; <a href="/blockstart/#about">About</a> &nbsp;|&nbsp;
@ -34,14 +39,15 @@
</div> </div>
</block> </block>
<block class="solid center center-text sized" style="--value: 8; --h: 400px;"> <block class="center center-text" style="--w: 100%; --value: 7; --h: 400px;">
<div class="no-flex"> <div class="center center-self">
<h1>The blockstart.css</h1> <h1>The blockstart.css</h1>
<p>Quickly get your initial layout idea done with minimal CSS and HTML.</p> <p>Quickly get your initial layout idea done with minimal CSS and HTML.</p>
</div> </div>
</block> </block>
<content class="pad"> <block class="center" style="--w: 1080px;">
<div>
<h1 id="#about">About blockstart.css</h1> <h1 id="#about">About blockstart.css</h1>
<p>The <a href="/blockstart/blockstart.css">blockstart.css</a> file gives you a simple set of basic layout primitives to get started. It allows you to follow a simple process:</p> <p>The <a href="/blockstart/blockstart.css">blockstart.css</a> file gives you a simple set of basic layout primitives to get started. It allows you to follow a simple process:</p>
@ -74,6 +80,20 @@
<p>I am inside a block.</p> <p>I am inside a block.</p>
</block> </block>
<h2>Width and Height</h2>
<p>You can set the width and height of a <code>&lt;block&gt;</code> (or immediate children) by simply setting the <code>--w</code> and <code>--h</code> variables:
<pre><code>
&lt;block style="--w: 400px; --h: 200px;"&gt;400x200 block&lt;/block&gt;
</code></pre>
<p>That will make a block that's 400px by 200px.</p>
<h2>.fill</h2>
<p>If you just want a block to fill its parent then give it the class <code>.fill</code>. That will probably make it expand to fill, but it's kind of dodgy whether it works as expected. If it's not working then just remove it and use the <code>--h</code> and <code>--w</code>.</p>
<h2>Debugging</h2> <h2>Debugging</h2>
<p>Not sure where the boxes are? Add <code>class="debug"</code> to the <code>block</code> (or <code>grid</code>) and it will put a red border around the outer box, then a blue border around the children:</p> <p>Not sure where the boxes are? Add <code>class="debug"</code> to the <code>block</code> (or <code>grid</code>) and it will put a red border around the outer box, then a blue border around the children:</p>
@ -99,17 +119,17 @@
<p>In that example, the "No Flex" lines are spaced normally because the code has <code>class="no-flex"</code> on that block.</p> <p>In that example, the "No Flex" lines are spaced normally because the code has <code>class="no-flex"</code> on that block.</p>
<h2>Solid Blocks</h2> <h2>Block Values and Text</h2>
<p>You can make a block solid with <code>class="solid"</code></p> <p>All blocks have a <code>--value</code> variable that sets the backgrond value, and <code>--text</code> for the text value. A "value" is a number 0-9 that indicates the darkness or lightness of an object. Think of it as the amount of light in the object, with 0 meaning no light, and 9 being all the light. Here is a <code>--value: 0; --text: 9;</code></p>
<block class="solid"> <block style="--value: 0; --text: 9;">
<p>I am inside a solid block.</p> <p>I am inside a solid block.</p>
</block> </block>
<p>Notice how it takes up the whole page? Notice how it's monochrome? That's all you need. You can change the "value" of a solid block with a variable <code>style="--value: 3"</code>:</p> <p>Notice how it takes up the whole page width? Notice how it's monochrome? That's all you need. You can change the "value" of a solid block with a variable <code>style="--value: 3"</code>:</p>
<block class="solid" style="--value: 3"> <block style="--value: 3">
<p>I am inside a solid dark block.</p> <p>I am inside a solid dark block.</p>
</block> </block>
@ -122,18 +142,42 @@
<p>We can fix that last block's contrast with value 9 text using <code>style="--text: 9;"</code>:</p> <p>We can fix that last block's contrast with value 9 text using <code>style="--text: 9;"</code>:</p>
<block class="solid" style="--value: 3; --text: 9;"> <block style="--value: 3; --text: 9;">
<p>I am inside a solid dark block too.</p> <p>I am inside a solid dark block too.</p>
</block> </block>
<p>If we use <code>style="--value: 0; --text: 9;"</code> we can get a high contast dark block:</p> <p>If we use <code>style="--value: 0; --text: 9;"</code> we can get a high contast dark block:</p>
<block class="solid" style="--value: 0; --text: 9;"> <block style="--value: 0; --text: 9;">
<p>I am inside a solid black block.</p> <p>I am inside a solid black block.</p>
</block> </block>
<p>Values make it easier to solve contrast in your designs because you don't have to think about thousands of colors and their luminance levels. Just make the difference in value between your text (the subject) and background (the ground) to increase contrast. In the previous block the difference was 9 because background is value 0 and text is value 9.</p> <p>Values make it easier to solve contrast in your designs because you don't have to think about thousands of colors and their luminance levels. Just make the difference in value between your text (the subject) and background (the ground) to increase contrast. In the previous block the difference was 9 because background is value 0 and text is value 9.</p>
<h3>Fixed Values</h3>
<p>There are 10 preset values you can use in other CSS settings:</p>
<pre><code>--value0: hsl(0, 0%, calc(0 * var(--value-scale)));
--value1: hsl(0, 0%, calc(1 * var(--value-scale)));
--value2: hsl(0, 0%, calc(2 * var(--value-scale)));
--value3: hsl(0, 0%, calc(3 * var(--value-scale)));
--value4: hsl(0, 0%, calc(4 * var(--value-scale)));
--value5: hsl(0, 0%, calc(5 * var(--value-scale)));
--value6: hsl(0, 0%, calc(6 * var(--value-scale)));
--value7: hsl(0, 0%, calc(7 * var(--value-scale)));
--value8: hsl(0, 0%, calc(8 * var(--value-scale)));
--value9: hsl(0, 0%, calc(9 * var(--value-scale)));
</code></pre>
<p>These are useful when you need to set something that's not covered by Blockstart. Say you want to add a bottom-border that's middle gray:</p>
<pre><code>&lt;block style="border-bottom: 1px solid var(--value5);"&gt;</pre></code>
<h3>.solid</h3>
<p>For convenience you can just add a <code>class="solid"</code> and get a default gray background
with light text.</p>
<h2>Shapes</h2> <h2>Shapes</h2>
@ -147,7 +191,7 @@
<h2>Padding</h2> <h2>Padding</h2>
<p>Just add <code>class="pad"</code> to give a simple 1rem padding to a block. Use the variable <code>style="--pad: 1rem"</code> to change its padding.</p> <p>Just the variable <code>style="--pad: 1rem"</code> to change its padding.</p>
<h2>Borders</h2> <h2>Borders</h2>
@ -176,49 +220,12 @@
<p>You can also add <code>class="center-self"</code> on <p>You can also add <code>class="center-self"</code> on
elements that you want to center but not really the contents, and when it's not explicitly a <code>block</code> tag but you want it centered.</p> elements that you want to center but not really the contents, and when it's not explicitly a <code>block</code> tag but you want it centered.</p>
<block class="solid pad"> <block class="solid">
<demo class="pad solid border center-self" style="--value: 10;"> <demo class="solid border center-self" style="--value: 9; --text: 0;">
DEMO DEMO
</demo> </demo>
</block> </block>
<h2>Patterns</h2>
<p>Sometimes you need a little indicator for a block to make it different for later changes. You can use three patterns of <code>stripes</code>, <code>lines</code>, and <code>dots</code>.</p>
<grid style="--rows: auto; --cols: 1fr 1fr 1fr; --gap: 1rem;">
<block class="solid center stripes border">
<h1>Solid</h1>
</block>
<block class="solid center dots border">
<h1>Dots</h1>
</block>
<block class="solid center lines border">
<h1>Lines</h1>
</block>
</grid>
<p>You can change the line/dot/stripe color with <code>--pat-val</code>, and combine it with the block background setting <code>--value</code>. For example, these are all white patterns on black blocks:</p>
<grid style="--rows: auto; --cols: 1fr 1fr 1fr; --gap: 1rem;">
<block class="solid center dots border"
style="--value: 0; --pat-val: 9; --text: 9;">
<h1>Dots</h1>
</block>
<block class="solid center lines border"
style="--value: 0; --pat-val: 9; --text: 9">
<h1>Lines</h1>
</block>
<block class="solid center stripes border"
style="--value: 0; --pat-val: 9; --text: 8">
<h1>Stripes</h1>
</grid>
<h2>Horizontal</h2> <h2>Horizontal</h2>
<p>By default blocks are vertical, like a web page, because blocks being horizontal by default is stupid. You can make a block horizontal with <code>class="horizontal"</code>, and then make it vertical again with <code>class="vertical"</code>. Here's a side-by-side block using <code>horizontal</code>:</p> <p>By default blocks are vertical, like a web page, because blocks being horizontal by default is stupid. You can make a block horizontal with <code>class="horizontal"</code>, and then make it vertical again with <code>class="vertical"</code>. Here's a side-by-side block using <code>horizontal</code>:</p>
@ -253,11 +260,11 @@
<p>You set the rows, columns, and gap with style variables <code>--rows</code>, <code>--cols</code>, and <code>--gap</code> like so: <p>You set the rows, columns, and gap with style variables <code>--rows</code>, <code>--cols</code>, and <code>--gap</code> like so:
<pre class="pad"><code>&lt;grid style="--rows: auto; --cols: 1fr 1fr 1fr; --gap: 1rem;"&gt;</code></pre> <pre><code>&lt;grid style="--rows: auto; --cols: 3; --gap: 1rem;"&gt;</code></pre>
<p>Here is that grid setting using blocks inside for each of the patterns:</p> <p>Here is that grid setting using blocks inside for each of the patterns:</p>
<grid style="--rows: auto; --cols: 1fr 1fr 1fr; --gap: 1rem;"> <grid style="--rows: auto; --cols: 3; --gap: 1rem;">
<block class="border center"> <block class="border center">
<h1>Grids</h1> <h1>Grids</h1>
</block> </block>
@ -266,15 +273,15 @@
<h1>Solid</h1> <h1>Solid</h1>
</block> </block>
<block class="solid center dots border"> <block class="solid center border">
<h1>Dots</h1> <h1>Dots</h1>
</block> </block>
<block class="solid center lines border"> <block class="solid center border">
<h1>Lines</h1> <h1>Lines</h1>
</block> </block>
<block class="solid center stripes border"> <block class="solid center border">
<h1>Stripes</h1> <h1>Stripes</h1>
</block> </block>
@ -283,17 +290,17 @@
<h1>Solid</h1> <h1>Solid</h1>
</block> </block>
<block class="solid center dots border" <block class="solid center border"
style="--value: 0; --text: 9;"> style="--value: 0; --text: 9;">
<h1>Dots</h1> <h1>Dots</h1>
</block> </block>
<block class="solid center lines border" <block class="solid center border"
style="--value: 0; --text: 9;"> style="--value: 0; --text: 9;">
<h1>Lines</h1> <h1>Lines</h1>
</block> </block>
<block class="solid center stripes border" <block class="solid center border"
style="--value: 0; --text: 9;"> style="--value: 0; --text: 9;">
<h1>Stripes</h1> <h1>Stripes</h1>
</block> </block>
@ -304,26 +311,25 @@
<p>Frequently you need to use multiple layers as in an image with text on top. You might not need this in the layout phase, but in the first statement it does come up. The <code>stack</code> tag will position all of it's children on top of each other in order, and you can set one as the top with <code>class="top"</code>.</p> <p>Frequently you need to use multiple layers as in an image with text on top. You might not need this in the layout phase, but in the first statement it does come up. The <code>stack</code> tag will position all of it's children on top of each other in order, and you can set one as the top with <code>class="top"</code>.</p>
<p>In this demo I have a block with "I'm on Bottom" that I cover with another block that uses a stripes pattern. This gives the effect of putting the text behind bars. Remember that these stack in the reverse order you write them, unless you tag one with <code>class="top"</code>. <p>In this demo I have a block with "I'm on Bottom" that I cover with another block that uses a transparent gray background. This gives the effect of putting a "screen". Remember that these stack in the reverse order you write them, unless you tag one with <code>class="top"</code>.
</p> </p>
<stack class="center" style="width: 300px; height: 150px;"> <stack class="center" style="width: 300px; height: 150px;">
<block class="solid center"> <block class="center">
<h2>I'm on Bottom</h2> <h2>I'm on Bottom</h2>
</block> </block>
<block class="stripes debug" style="--spacing: flex-end;"> <block class="debug" style="--spacing: flex-end; background-color: hsla(0, 0%, 50%, 50%);">
<h1 class="no-flex">I'm on Top</h1> <h1 class="no-flex">I'm on Top</h1>
</block> </block>
</stack> </stack>
<p>I put <code>class="debug"</code> around the "I'm on Top" class so you can see where it gets placed. The "top" block has the lines and you can read the text clearly. The "I'm on Bottom" text is hiding behined these lines. <p>I put <code>class="debug"</code> around the "I'm on Top" class so you can see where it gets placed. The "top" block has the transparent gray background. The "I'm on Bottom" text is hiding behined it, but looks like it has a gray background. View the source to see what I'm talking about.
</p> </p>
<h2>Content</h2> <h2>Content</h2>
<p>Many times you want one section to take up the whole page width, but then content under that to be padded. You can just manually set the width most of the time, or use the <code>content</code> tag. Add on the <code>class="pad"</code> to give it padding, or <code>class="sized"</code> to set its width or height. <p>If you toss <code>&lt;p&gt;</code> inside a <code>block</code> tag it'll act like any other tags, taking on the <code>block</code> settings. Remember that Blockstart is about big chunky layout blocks, so all you have to do is wrap your content in a regular old <code>&lt;div&gt;</code> and the content will display the way you expect.</p>
</p>
<h2>Getting Started</h2> <h2>Getting Started</h2>
@ -364,6 +370,8 @@ npx http-server -d -c-1 public
<p>There's a lot you can add to an HTML page to make it work on different platforms, including all the icons ever invented by Apple, but this file gets you started when using the <a href="/blockstart/blockstart.css">blockstart.css</a>. <p>There's a lot you can add to an HTML page to make it work on different platforms, including all the icons ever invented by Apple, but this file gets you started when using the <a href="/blockstart/blockstart.css">blockstart.css</a>.
</p> </p>
</content> </div>
</block>
</blockstart>
</body> </body>
</html> </html>

Loading…
Cancel
Save