1
0
Fork 0

fix navbar

This commit is contained in:
p1907091 2019-12-12 07:45:52 +01:00
parent 96948d693c
commit 727101274f
3 changed files with 16 additions and 8 deletions

View file

@ -14,6 +14,7 @@ a{
background-color: white; background-color: white;
width: 100%; width: 100%;
z-index: 3; z-index: 3;
overflow: auto;
box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.1); box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.1);
} }
@ -164,4 +165,6 @@ div#slider figure {
text-align: left; text-align: left;
animation: 16s slidy infinite; animation: 16s slidy infinite;
} }
/*==========================================================================================*/ /*============================================*/

View file

@ -1,7 +1,4 @@
@media (min-width:48em){ @media (min-width:48em){
.header{
position: fixed;
}
.header li{ .header li{
float: left; float: left;
} }

View file

@ -33,6 +33,14 @@
</figure> </figure>
</div> </div>
<div class="flex-container">
<div>Robot Nao</div>
<div>Robot Valkyrie</div>
<div>Robot Terminator</div>
<div>Robot x</div>
<div>Robot y</div>
</div>
</body> </body>
</html> </html>