Skip to content

Instantly share code, notes, and snippets.

@jensgro
Forked from SirPepe/dabblet.css
Last active December 28, 2015 00:19
Show Gist options
  • Save jensgro/7412442 to your computer and use it in GitHub Desktop.
Save jensgro/7412442 to your computer and use it in GitHub Desktop.
Unter-Überschriften mit Flexbox in Dachzeilen verwandeln
/**
* Unter-Überschriften mit Flexbox in Dachzeilen verwandeln
*/
header {
display: flex;
flex-direction:column-reverse;
}
<article class="blogpost">
<header>
<h1>Große fette H1-Überschrift</h1>
<h2>H2-Unter-Überschrift, die als Dachzeile fungieren soll</h2>
</header>
<p>
Lorem lean startup ipsum product market fit customer development acquihire technical cofounder. User engagement A/B testing shrink a market venture capital pitch deck. Social bookmarking group buying crowded market pivot onboarding freemium prototype ping pong. Early stage disruptive ecosystem community outreach dynamic location based strategic investor.
</p>
<p>
Accelerator photo sharing business school drop out ramen hustle crush it revenue traction platforms. Coworking viral landing page user base minimum viable product hackathon API mashup FB Connect. Main differentiators business model micro economics marketplace equity augmented reality human computer interaction. Board members super angel preferred stock. Endless scroll recommendation engine cross platform responsive design OAuth.
</p>
</article>
<!-- Irrelevante Aufhübschung -->
<style>
body {
font-size:125%;
line-height: 1.6;
width: 70%;
margin: 3em auto;
}
h2 {
margin: 0;
text-transform: uppercase;
font-size: 1em;
}
</style>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment