dropright css code example

Example: dropright css

body
{
    background-color: #CEF6F5;
}

aside
{
    margin-top: 1%;
    height:50%;
}

ul
{
    margin: 0;
    padding: 0;
}

li
{
    list-style:none;
}

a
{
    text-decoration:none;
}

#content
{
    float:right;
    width:80%;
    background-color:red;
}

#menu
{
    width:20%;
    float:left;
    background-color: #000;
}

.cl-menu li
{
    position: relative;
}

.cl-menu > li:hover
{
    font-weight:bold;
    opacity: 1;
    filter: alpha(opacity=100);
}

.cl-menu li:hover
{
    background-color:#66819C;
}

.cl-menu li a
{
    display: block;
    min-width: 150px;
    padding: 10px;
    color:#CEF6F5;
    font-family: 'Rancho', cursive;
}

.cl-menu li:hover a
{
    color:#FFF;

}

.cl-menu li ul
{
    position: absolute;
    top: 0;
    left: 100%;
    border: 1px solid #000;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    display:none;
}

.cl-menu li:hover > ul
{
    display:block;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.cl-menu li ul li
{
    background: grey;
    border-bottom:1px solid #000;
    border-top:none;
    border-left:none;
    border-right:none;
}

.cl-menu li ul li:last-child
{
    border-bottom: none;
}

Tags:

Misc Example