Code für Startseite

Aus dataDyne Wiki
Zur Navigation springen Zur Suche springen
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Umbrella Corporation</title>
<style media="screen">
html, body {
margin: 0;
padding: 0;
height: 100%;
}

body {
background: #000 url('globe.jpg') center center no-repeat;
background-size: cover;
}

header {
height: 20vh;
display: flex;
align-items: center;
}

img#logo {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
}

main {
height: 80vh;
display: flex;
align-items: center;
}

img#business {
display: block;
margin: 0 auto;
margin-top: -20vh;
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<header>
<img src="logo.png" id="logo" alt="">
</header>
<main>
<img src="business.png" id="business" alt="">
</main>
</body>
</html>