JSFiddle - React, Tailwind, and code Playground
by Wolf Wortmann
HTML
<body>
<header>
<nav>
<ul>
<!-- Die elemente stehen EXTRA nicht unterienander um blöde umbruch-abstände zu vermeiden.. :( -->
<li><a href="#">Home</a></li><li><a href="#">Bilder</a></li><li><a href="#">Downloads</a></li>
</ul>
</nav>
</header>
<section>
<h1>Downloads</h1>
<article>
<table>
<thead>
<tr>
<th>Programm</th>
<th>Sprache</th>
<th>Datum</th>
<th>Größe</th>
<th>Download</th>
</tr>
</thead>
<tbody>
<tr>
<td>Hello World
<td>C++
<td>01.05.2014
<td>56KB
<td><a href="#">Klick hier.</a>
</tr>
<tr>
<td>Hello World
<td>C++
<td>01.05.2014
<td>56KB
<td><a href="#">Klick hier.</a></td>
</tr>
<tr>
<td>Hello World</td>
<td>C++</td>
<td>01.05.2014</td>
<td>56KB</td>
<td><a href="#">Klick hier.</a></td>
</tr>
<tr>
<td>Hello World</td>
<td>C++</td>
<td>01.05.2014</td>
<td>56KB</td>
<td><a href="#">Klick hier.</a></td>
</tr>
</tbody>
</table>
</article>
<article>
<ul class="check_list">
<li>Programm aussuchen</li>
<li>Auf klick hier...
CSS
*{
margin: 0;
padding: 0;
}
html{
}
a{
text-decoration: none;
}
a:hover{
}
nav{
background-color: #343434;
}
/* Alle li-tags im Navi */
nav li{
display: inline-block;
list-style-type: none;
border-left: 2px solid #A9E3FF;
/* Verzögerung */
transition: all 0.5s;
}
/* Erstes li-Tag im Navi */
nav li:nth-child(1){
border-left: none;
}
nav li:hover{
background-color: rgba(255,255,255, 0.1);
}
/* Alle a-Tags im Navigationsbereich */
nav a{
text-align: center;
display: block;
color: #A9E3FF;
padding: 10px;
width: 150px;
}
.check_list {
padding-left: 40px;
}
.check_list li{
list-style-image: url(http://xluxsx.bplaced.net/images.png);
line-height: 25px;
}