+Farben und Position (CSS)

master
tmn 4 years ago
parent b9c458694f
commit f05fc6cf15

@ -4,11 +4,15 @@ ul {
padding: 0; padding: 0;
overflow: hidden; overflow: hidden;
background-color: #333; background-color: #333;
height: auto;
width: 800px;
position: absolute;
top: 5%;
} }
li { li {
float: left; float: left;
border-right:1px solid #bbb; border-right:1px solid #bbbbbb;
} }
li:last-child { li:last-child {
@ -35,6 +39,7 @@ li a:hover:not(.active) {
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
left: 50%; left: 50%;
top: 50%; top: 50%;
background-color: #ffffff;
} }
.game{ .game{
border: solid black 0.1em; border: solid black 0.1em;
@ -47,4 +52,8 @@ li a:hover:not(.active) {
body{ body{
text-align: center; text-align: center;
justify-content: center; justify-content: center;
background-color: #585858;
display: flex;
flex-direction: row;
justify-content: center;
} }
Loading…
Cancel
Save