Skip to content

Instantly share code, notes, and snippets.

@iamstarkov
Created April 27, 2012 06:29
Show Gist options
  • Save iamstarkov/2506553 to your computer and use it in GitHub Desktop.
Save iamstarkov/2506553 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
#partner_menu,
#partner_menu li,
#small_user_menu,
#small_user_menu li {
list-style: none;
padding: 0;
margin: 0;
}
#partner_menu,
#small_user_menu {
height: 25px;
overflow: hidden;
}
#partner_menu {
float: left;
}
#small_user_menu {
float: right;
}
#partner_menu li,
#small_user_menu li {
float: left;
}
#partner_menu li + li,
#small_user_menu li + li {
margin-left: 4px;
}
#partner_menu li a,
#small_user_menu li a {
display: block;
background-color: #dfdcdc;
height: 23px;
line-height: 23px;
padding: 0 14px;
border-radius: 5px 5px 0 0;
margin-top: 2px;
}
#partner_menu li.active a,
#small_user_menu li.active a {
margin-top: 0;
height: 25px;
line-height: 25px;
background-color: #f7f7f7;
}
<!-- content to be placed inside <body>…</body> -->
<ul id="partner_menu">
<li class="active"><a action="">Статистика</a></li>
<li><a action="">Api</a></li>
<li><a action="">Конструктор</a></li>
</ul>
<ul id="small_user_menu">
<li><a action="">357 Р</a></li>
<li><a action="">id 31415926</a></li>
</ul>
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment