iframe.html
Quell Code
<!doctype html>
<html lang="de">
<head>
<style>
body{
width:100vw;
}
.frame {
background: #FAFBFC;
display: flex; /*only way for center?*/
}
.inner-frame {
margin: 0 auto; /*only way for center?*/
margin-top: -10px;
}
@media only screen and (min-width: 800px) {
.frame{
display:flex;
}
.line{
display:flex;
}
}
@media only screen and (max-width: 400px) {
.frame{
display:flex;
flex-direction:column;
}
.line{
display:flex;
flex-direction:column;
}
}
@media only screen and (max-width: 799px) {
.frame{
display:flex;
flex-direction:column;
}
.line{
display:flex;
}
}
.box {
width: 275px;
border: 1px;
background: #FDFDFE;
border-style: solid;
border-color: #e8e8e8;
background: #ffffff;
text-align: center;
margin: 14px;
}
p.box-title {
padding-top: 10px;
font-size: 22px;
font-weight: bold;
}
img.image-radius {
border-radius: 100%;
width: 120px;
height: 120px;
}
p.text-padding {
padding-top: 10px;
padding-right: 20px;
padding-left: 20px;
font-family: "Helvetica";
font-size: 20px;
}
p a.mehr-button {
color: #ffffff;
background-color: #00749F;
padding: 0px 30px;
border: none;
text-align: center;
display: inline-block;
font-size: 19px;
cursor: pointer;
border-radius: 100px;
font-weight: bold;
}
</style>
</head>
<body>
<div class="frame">
<div class="line">
<div class="box w3-quarter">
<p class="box-title">Header 1</p>
<img src="" title="" alt="" class="image-radius">
<p class="text-padding">
QJfejfnejkfew klenfew kjqnd klqned jk qlkdnkj jk djkjkjbd lkjlkwqn qlwkd.
</p>
<p>
<a href="#" class="mehr-button">mehr</a>
</p>
</div>
<div class="box w3-quarter">
<p class="box-title">Header 2</p>
<img src="" title="" alt="" class="image-radius">
<p class="text-padding">
alkdjfbhre iujk oifhewu ifhewli2 rjewn klfewnew qlkjeeknf elkfh hqedj qjhekjej eoihdfe.
</p>
<p>
<a href="#" class="mehr-button">mehr</a>
</p>
</div>
</div>
<div class="line">
<div class="box w3-quarter">
<p class="box-title">Header 3</p>
<img src="" title="" alt="" class="image-radius">
<p class="text-padding">
kasjbhfwe jqwbe ek jkqbdeeqwje kjqbe kjqbd jkdbenkdejk kjqbq jkqwbj ejkdbe.
</p>
<p>
<a href="#" class="mehr-button">mehr</a>
</p>
</div>
<div class="box w3-quarter">
<p class="box-title">Header 4</p>
<img src="" title="" alt="" class="image-radius">
<p class="text-padding">
EWNfh wqkjdb e djewdqekj djhewd qwjk qjks es dkoqweeqjd qdje ejde qwmd eq we.
</p>
<p>
<a href="#" class="mehr-button">mehr</a>
</p>
</div>
</div>
</div>
</body>
</html>