Skip to content

Instantly share code, notes, and snippets.

@SirPepe
Created November 11, 2013 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SirPepe/7411856 to your computer and use it in GitHub Desktop.
Save SirPepe/7411856 to your computer and use it in GitHub Desktop.
Unter-Überschriften in Dachzeilen verwandeln
/**
* Unter-Überschriften 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