Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  
<section class="filters">
  
    <div>
        <h6>Show me:</h6>
        <ul>
            <li class="selected"><a href="#">Next 7 days</a></li>
            <li><a href="#">Tonight</a></li>
            <li><a href="#">Tomorrow Night</a></li>
            <li><a href="#">This Weekend</a></li>
            <li class="bullet-dropdown"><a href="#">Choose Date</a></li>
        </ul>
    </div>
    <div>
        <h6>Order by:</h6>
        <ul>
            <li class="selected tall"><a href="#">Longer  Wording Example</a></li>
            <li><a href="#">Recently Added</a></li>
        </ul>
    </div>
    <div>
        <h6>Filter by:</h6>
        <ul>
            <li class="selected"><a href="#">All</a></li>
            <li><a href="#">Bars</a></li>
            <li><a href="#">Pubs</a></li>
            <li><a href="#">Clubs</a></li>
            <li><a href="#">Festivals</a></li>
        </ul>
    </div>
  
</section><!-- end .filters -->  
  
</body>
</html>
 
body {  
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.filters {
    width: 116px;
  position: relative;
}
.filters {
    background-color: #ededed;
    border-radius: 5px;
}
.filters div {
    margin: 0 0 8px 0;
    border-bottom: 1px solid #fff;
    padding: 0 0 8px 0; 
}
.filters div:first-child {
    padding-top: 10px;
}
.filters div:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.filters h6 {
    color: #3c3c3b;
    margin: 0 0 5px 0;
    padding: 0 10px;    
    font-size: 90%;
    text-transform: uppercase;
    text-shadow: 0 1px 0 #ffffff;       
}
.filters ul {
    font-size: 80%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
/* HEIGHT OF BLUE SELECTED AREA */
.filters ul li {
    line-height: 1.3em;
    padding: 3px 0;
}
.filters ul li:hover {
    background-color: rgba(46, 167, 232, 0.15);
}
.filters ul li a:link {
    text-decoration: none;
    color: #6a6969;
    padding: 0 10px;
    display: block;
}
.filters .selected {
    background: #3aa5de;
}
.filters .selected:hover {
    background: #3aa5de;
}
.filters ul .selected a:link {
    color: #fff;
    -webkit-font-smoothing: subpixel-antialiased;
}
/* GENERATE CSS TRIANGLE */
.filters .selected:after {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    border-color: transparent transparent transparent #3aa5de;
    border-style: solid;
    border-width: 11px 0 11px 7px; 
    left: 100%;
    margin-top: -19px;
    -webkit-transform:rotate(360deg); 
}
  
.filters .selected.tall:after {
  margin-top: -36px;
  border-width: 20px 0 20px 7px;
}
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers