Teaser in Hero-Image (Theme-Site)
CODE
×
HTML
<div class='hero-img-teaser-theme'><h2 class="hero-area white theme"><b>Asyl</b> ist ein Menschenrecht</h2></div>
CSS
div.hero-img-teaser-theme { background-color: rgba(78,78,78,1); cursor:pointer; -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; display:table; padding-top: 30px; padding-right: 30px; padding-bottom: 30px; padding-left: 30px; width: calc(33.3% - 11.34px); } div.hero-img-teaser-theme:hover, div.hero-img-teaser-theme:focus { background-color: rgba(64,64,64,1); } div.hero-img-teaser-theme:last-of-type { margin-right: 0; } @media screen and (max-width: 1119px) { div.hero-img-teaser-theme { width: 100%; } } @media screen and (max-width: 767px) { div.hero-img-teaser-theme { padding-top: 25px; padding-right: 20px; padding-bottom: 25px; padding-left: 20px; min-height: auto; } } h2.hero-area.white.theme{ color: rgba(255,255,255,1); position:relative; display: table-cell; vertical-align: middle; margin: 0 !important; }
JS
Teaser in Hero-Image (Theme-Site)
×
Asyl
ist ein Menschenrecht