fix #19 Animation geht nun
This commit is contained in:
19
index.php
19
index.php
@@ -26,16 +26,31 @@ if ($tab == "") {$tab = "home";}
|
|||||||
Mellys Weihnachts Kalender
|
Mellys Weihnachts Kalender
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<!-- mobil sass--->
|
||||||
<input class="side-menu" type="checkbox" id="side-menu"/>
|
<input class="side-menu" type="checkbox" id="side-menu"/>
|
||||||
<label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
|
<label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
|
||||||
|
<!-- mobil sass ende --->
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="?tab=home" <?php if ($tab == "home")?>>Home</a></li>
|
<li><a href="?tab=home" <?php if ($tab == "home")?>>Home</a></li>
|
||||||
<li><a href="?tab=galerie" <?php if ($tab == "galerie")?>>Galerie</a></li>
|
<li><a href="?tab=galerie" <?php if ($tab == "galerie")?>>Galerie</a></li>
|
||||||
<li><a href="?tab=radio" <?php if ($tab == "radio")?>>Musik</a></li>
|
<li><a href="?tab=radio" <?php if ($tab == "radio")?>>Musik</a></li>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
<li class="mainMenu"><a href="#">Test</a>
|
||||||
</nav>
|
<ul class="submenu">
|
||||||
|
<li><a href="#">Spiel</a></li>
|
||||||
|
<li><a href="#">Rang</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="mainMenu"><a href="#">Test2</a>
|
||||||
|
<ul class="submenu">
|
||||||
|
<li><a href="#">Spiel</a></li>
|
||||||
|
<li><a href="#">Rang</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(".mainMenu > a").mouseover(function(){
|
$(".mainMenu > a").mouseover(function(){
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -9,14 +9,14 @@ $ulBorderM: 3px ridge darkgreen
|
|||||||
height: 50%
|
height: 50%
|
||||||
position: absolute
|
position: absolute
|
||||||
//float: none
|
//float: none
|
||||||
background-color: #fff
|
//background-color: #fff
|
||||||
max-height: 0
|
max-width: 0
|
||||||
transition: all 0.4s ease-in
|
transition: all 0.3s ease-in-out
|
||||||
border-left: $ulBorderM
|
//border: $ulBorderM
|
||||||
border-right: $ulBorderM
|
|
||||||
border-radius: 2rem
|
border-radius: 2rem
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
right: 0
|
right: 0
|
||||||
|
//display: none
|
||||||
|
|
||||||
|
|
||||||
ul
|
ul
|
||||||
@@ -24,7 +24,7 @@ $ulBorderM: 3px ridge darkgreen
|
|||||||
background: none
|
background: none
|
||||||
border: none
|
border: none
|
||||||
box-shadow: none
|
box-shadow: none
|
||||||
|
display: none
|
||||||
|
|
||||||
li
|
li
|
||||||
float: none
|
float: none
|
||||||
@@ -100,9 +100,14 @@ $ulBorderM: 3px ridge darkgreen
|
|||||||
|
|
||||||
.side-menu:checked ~
|
.side-menu:checked ~
|
||||||
nav
|
nav
|
||||||
max-height: 100%
|
max-width: 100%
|
||||||
border-top: $ulBorderM
|
display: block
|
||||||
border-bottom: $ulBorderM
|
border: $ulBorderM
|
||||||
|
border-right: none
|
||||||
|
background: #fff
|
||||||
|
|
||||||
|
ul
|
||||||
|
display: inline-block
|
||||||
|
|
||||||
|
|
||||||
.hamb .hamb-line
|
.hamb .hamb-line
|
||||||
|
|||||||
Reference in New Issue
Block a user