Fixed Button (responsive)
by timum
HTML
<div class="fixed-button">
<a href="https://www.meine-domain.de/Beratungsterminseite">Beratungstermin</a>
</div>
CSS
.fixed-button {
display: inline-block;
position: fixed;
bottom: 100px;
right: 0;
-webkit-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.5);
box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.5);
box-sizing: border-box;
overflow: hidden;
z-index: 999;
}
.fixed-button a {
display: block;
padding: 9px 15px 8px 15px;
background: #c10637;
color: #fff;
font-family: Arial, sans-serif;
font-size: 14px;
text-decoration: none;
}
.fixed-button a:hover {
background: #5F8DD3;
}
@media only screen and (min-width: 768px) {
.fixed-button {
bottom: 185px;
}
.fixed-button a {
padding: 11px 15px 10px 15px;
font-size: 17px;
}
}