Browse Source

Erstellung Webseite mit Stylesheet

main
Lucas Thenert 2 years ago
parent
commit
9db3febefd
  1. 25
      kniffel/css/styles.css
  2. 28
      kniffel/index.html

25
kniffel/css/styles.css

@ -0,0 +1,25 @@
* {
box-sizing: border-box;
}
body {
margin: 0;
}
.header {
padding: 20px;
text-align: center;
}
.line {
border: 2px solid black;
}
.column {
text-align: center;
float: left;
width: 50%;
padding: 15px;
}

28
kniffel/index.html

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/styles.css" />
<title>Kniffel</title>
</head>
<body>
<div class="header">
<h1>Kniffel</h1>
<h2 id="aktuellerSpieler">Spieler 1 ist an der Reihe</h2>
</div>
<hr class="line">
<div class="row">
<div class="column">
<h1>Spielpan</h1>
</div>
<div class="column">
<h1>Würfelbereich</h1>
</div>
</div>
</body>
</html>
Loading…
Cancel
Save