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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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>
              @import url(https://fonts.googleapis.com/css?family=Ropa+Sans);

*{box-sizing: border-box;}

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

  margin-left: 18px;

  text-align: center;
  padding: 0;
  list-style: none;

  overflow: hidden;
  width: 100%;

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

.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(
  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;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................