Commit a2757948 authored by Aria Givi's avatar Aria Givi

funktionierendes dropdown mit css, styles muessen noch angepasst werden.

parent 9c52e8ba
......@@ -29,6 +29,49 @@
@endif
</head>
<body>
<style>
nav ul {
padding: 0;
margin: 0;
list-style: none;
position: relative;
}
nav ul li {
display:inline-block;
background-color: #E64A19;
}
/* Hide Dropdowns by Default */
nav ul ul {
display: none;
position: absolute;
top: 60px; /* the height of the main nav */
}
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
display:inherit;
}
/* Fisrt Tier Dropdown */
nav ul ul li {
width:170px;
float:none;
display:list-item;
position: relative;
}
/* Second, Third and more Tiers */
nav ul ul ul li {
position: relative;
top:-60px;
left:170px;
}
</style>
<header>
@yield('homeIcon')
<nav id="navbar-static-pages" class="navbar-resultpage">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment