Closed AlexisRoe closed 4 years ago
created basic responsive layout in html, still missing tags, ids, etc for binding
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
html {
height: 100%;
}
body {
height: 100%;
margin: 0;
padding: 0;
}
.container {
height: 100%;
width: 100%;
display: grid;
grid-template-rows: 80px 1fr 80px;
}
.content {
background-color: bisque;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
grid-row: 2 / 3;
padding-bottom: 5vw;
}
.quote {
margin: 0;
height: 25vh;
}
.content button {
margin: 0 2rem;
}
.linie {
background-color: coral;
display: flex;
justify-content: center;
align-items: center;
padding: 0 2rem;
grid-row: 3 / 4
}
.linie > svg {
margin: 0 2rem;
width: 50%;
}
.linie > span {
color: white;
text-align: center;
}
.linie > span > sup {
margin: 1rem 1rem;
}
header {
display: flex;
justify-content: flex-start;
align-items: center;
padding: 1rem;
grid-row: 1 / 2;
}
header > img {
margin-right: auto;
}
header > button {
margin-right: 1rem;
}
</style>
</head>
<body>
<div class="container">
<header>
<img
src="https://css-tricks.com/wp-content/uploads/2020/10/2Kq_FcYPjWVrGAFLGqXneVg-350x350.jpeg"
alt=""
/>
<button>test</button>
<button>tefs</button>
</header>
<div class="content">
<div class="quote">Quote</div>
<div>
<button>dgdf</button>
<button>dgdfg</button>
<button>dfg</button>
</div>
</div>
<div class="linie">
<svg height="1" width="10">
<line x2="500" style="stroke: rgb(255, 255, 255); stroke-width: 1" />
</svg>
<span>567<sup>points</sup></span>
<svg height="1" width="10">
<line x2="500" style="stroke: rgb(255, 255, 255); stroke-width: 1" />
</svg>
</div>
</div>
</body>
</html>