<header>
<h1>Header</h1>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
<polygon points="0,100 100,0 100,100"/>
</svg>
</header>
<article>
<section>
<h2>Content</h2>
</section>
</article>
header {
position: relative;
height: 200px;
background: #00bcd4;
}
svg {
position: absolute;
bottom: 0;
width: 100%;
height: 100px;
fill: #80deea;
}
section {
background: #80deea;
}
h1,h2 {
margin: 0;
padding: 1em 0;
text-align: center;
color: #ffffff;
}
<header>
<h1>Header</h1>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
<polygon points="0,0 100,100 0,100"/>
</svg>
</header>
<article>
<section>
<h2>Content</h2>
</section>
</article>
header {
position: relative;
height: 200px;
background: #00bcd4;
}
svg {
position: absolute;
bottom: 0;
width: 100%;
height: 100px;
fill: #80deea;
}
section {
background: #80deea;
}
h1,h2 {
font-size: 2em;
margin: 0;
padding: 1em 0;
text-align: center;
color: #ffffff;
}
<header>
<h1>Header</h1>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
<polygon points="0,0 50,50 100,0"/>
</svg>
</header>
<article>
<section>
<h2>Content</h2>
</section>
</article>
header {
position: relative;
height: 100px;
background: #00bcd4;
}
svg {
position: absolute;
bottom: -100px;
width: 100%;
height: 100px;
fill: #00bcd4;
}
section {
height: 200px;
background: #80deea;
}
h1,h2 {
font-size: 2em;
margin: 0;
padding: 1em 0;
text-align: center;
color: #ffffff;
}
h2 {
padding: 3em 0 1em;
}
<header>
<h1>Header</h1>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
<polygon points="100,100 50,50 0,100"/>
</svg>
</header>
<article>
<section>
<h2>Content</h2>
</section>
</article>
header {
position: relative;
height: 200px;
background: #00bcd4;
}
svg {
position: absolute;
bottom: 0;
width: 100%;
height: 100px;
fill: #80deea;
}
section {
background: #80deea;
}
h1,h2 {
font-size: 2em;
margin: 0;
padding: 1em 0;
text-align: center;
color: #ffffff;
}
<header>
<h1>Header</h1>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
<path d="M0,0 Q50,50 100,0"></path>
</svg>
</header>
<article>
<section>
<h2>Content</h2>
</section>
</article>
header {
position: relative;
height: 150px;
background: #00bcd4;
}
svg {
position: absolute;
bottom: -100px;
width: 100%;
height: 100px;
fill: #00bcd4;
}
section {
height: 150px;
background: #80deea;
}
h1,h2 {
font-size: 2em;
margin: 0;
padding: 1em 0;
text-align: center;
color: #ffffff;
}
h2 {
padding: 2em 0 1em;
}
<header>
<h1>Header</h1>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">
<path d="M0,50 Q50,0 100,50"></path>
</svg>
</header>
<article>
<section>
<h2>Content</h2>
</section>
</article>
header {
position: relative;
height: 150px;
background: #00bcd4;
background-size: cover;
}
svg {
position: absolute;
bottom: -50px;
width: 100%;
height: 100px;
fill: #80deea;
}
section {
height: 150px;
background: #80deea;
}
h1,h2 {
font-size: 2em;
margin: 0;
padding: 1em 0;
text-align: center;
color: #ffffff;
}