*{
margin: 0;
padding: 0;
}
html{
background-color: rgba(0,0,0, .8);
}
nav li{
/* Punkte davor weg */
list-style-type: none;
/* Alle nebeneinander rutschen lassen */
display: inline-block;
}
nav li>a{
/* Strich drunter weg */
text-decoration: none;
/* Element zu einem "block" in der Zeile machen -> Damit man nicht nur den Text klicken kann.*/
display: inline-block;
/* Runde Ecken */
border-radius: 4px;
background-color: rgba(0,0,0,0.1);
color: rgba(255,255,255, 1);
border: 3px solid rgba(255,255,255, .5);
/* Zeit für die veränderung bei hover festlegen */
transition: all 0.5s;
padding: 5px;
margin: 10px;
}
/* Wenn man mit der MAus drüber geht */
nav li>a:hover{
background-color: rgba(255,255,255, 1);
color: rgba(0,0,0, 1);
border: 3px solid rgba(0,0,0, 1);
}
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.