JSFiddle - React, Tailwind, and code Playground
by Michel Penke
HTML
<style>
.container-correctiv {
width: 100%;
margin: 40px auto;
background: #EAEAEA;
height: auto;
border: 10px solid #00a2ca;
border-radius: 10px;
padding: 0 15%;
}
.container-correctiv h2 {
text-align: center;
font-family: inherit;
font-size: 22px;
font-weight: 700;
line-height: 1.5;
margin-bottom: 40px;
}
@media only screen and (max-width: 450px) {
.container-correctiv h2 {
font-size: 18px;
font-weight: 500;
line-height: 1.4;
}
}
.lnk-correctiv {
display: block;
margin: 0 calc(50% - 100px);
width: 200px;
}
.btn-correctiv {
-webkit-tap-highlight-color: transparent;
background-color: #00a2ca;
border-radius: 0;
box-shadow: none;
box-sizing: border-box;
color: #ffffff;
display: inline-block;
font-family: inherit;
font-size: 22px;
font-weight: 700;
line-height: 1;
padding: 22px 32px;
text-align: center;
text-decoration: none;
transition: all .5s;
margin: 20px auto 30px auto;
height: 70px;
}
.btn-correctiv:hover {
background-color: #243e4f;
}
</style>
<div class="container-correctiv">
<h2>
Machen Sie mit bei der Bürgerrecherche<br>„Wem gehört Heidenheim?“
</h2>
<a class="lnk-correctiv" href="https://forms.crowdnewsroom.org/wem-gehoert-heidenheim/heidenheim-eigentuemer/start">
<div class="btn-correctiv">
Mitmachen
</div>
</a>
</div>