Hallo zusammen,
habe ein ein Dropdown Menü in meinem Board. Dort möchte ich den Hovereffekt ändern sodas dieser über die ganze Breite geht.
Hier mal den CSS Code den ich verwende.
CSS
.mainMenu ul ul:before {
position: absolute;
content:"";
width: 0;
height: 0;
top: -15px;
left: 20px;
}
.mainMenu ul li:hover .invisible{
display: block;
position: absolute;
margin-top: 37px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
background-color: rgb (176, 213, 251, .9) !important;
background-image: linear-gradient rgb (176, 213, 251, .9), rgb (185, 219, 252, .9) !important;
text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.8);
box-shadow: 0 0 0.5em rgba(255, 255, 255, 0.8);
z-index: 9000;
height: auto;
width: auto;
padding: 6px;
}
.invisible a:hover {
background: none repeat scroll 0 0 rgb (240, 247, 253, .9);
text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.8);
box-shadow: 0 0 0.5em rgba(255, 255, 255, 0.8);
}
Alles anzeigen
Anbei noch ein Screen was ich meine.
Danke für eure Hilfe.