cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <div class="container">

<ul class="bc">
    <li><a href="" class="first">Awesome</a></li>
    <li><a href="#">Sauce,</a></li>
    <li><a href="#">Mi</a></li>
    <li><a href="#">Hermano,</a></li>
    <li><a href="#">Totally</a></li>
    <li><a href="#">Wicked</a></li>
      <li><a href="#">Sick</a></li>
    <li><a href="#">Fantastikitten</a></li>
    <li><a href="#" class="current">Current</a></li>
</ul>
  
</div>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Ropa+Sans);

*{box-sizing: border-box;}

body { font-family: "Ropa Sans";}

.container{
  margin-left: 18px;
}

ul{
  text-align: center;
  padding: 0;
  list-style: none;
}

.bc{
  overflow: hidden;
  width: 100%;
}

.bc li{
  float: left;
  margin: 6px 6px 0 18px;
  height:30px;
}

.bc a{
  background-image: linear-gradient(left bottom, #F5F5F5 31%, #DDDDDD 83%);
background-image: -o-linear-gradient(left bottom, #F5F5F5 31%, #DDDDDD 83%);
background-image: -moz-linear-gradient(left bottom, #F5F5F5 31%, #DDDDDD 83%);
background-image: -webkit-linear-gradient(left bottom, #F5F5F5 31%, #DDDDDD 83%);
background-image: -ms-linear-gradient(left bottom, #F5F5F5 31%, #DDDDDD 83%);

background-image: -webkit-gradient(
  linear,
  left bottom,
	right top,
	color-stop(0.31, #F5F5F5),
	color-stop(0.83, #DDDDDD)
); 
  padding: 6px 16px;
  float: left;
  text-decoration: none;
  color: #777;
  text-shadow: 1px 1px 0 rgba(255,255,255,.9); 
  position: relative;
}

.bc a:hover{
  background: #ddd;
  color: #444;
}

.bc a:before{
  content: "";
  position: absolute;
  top: 50%; 
  margin-top: -15px;  
  border-width: 15px 0 15px 18px;
  border-style: solid;
  border-color: #f5f5f5 #f5f5f5 #f5f5f5 transparent;
  left: -18px;
}

.bc a:hover:before{
  border-color: #ddd #ddd #ddd transparent;
}

.bc a:after{
  content: "";
  position: absolute;
  top: 50%; 
  margin-top: -14px;   
  border-top: 14px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #ddd;
  right: -15px;
}

.bc a:hover:after{
  border-left-color: #ddd;
}

.bc .first {
  border-radius: 5px 0 0 5px;
  margin-left: -15px;
}

.bc .first:before {
  visibility: hidden;
}

.bc .current{
  border-radius: 0 5px 5px 0;
  color: #222;
}



.bc .current:after{
  content: normal;
}
            
          
!
999px
Loading ..................

Console