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.

            
              <ul> 
  <a href="#"><li>Home</li></a>
  <a href="#"><li>About</li></a>
  <a href="#"><li>FAQ</li></a>
  <a href="#"><li>Contact</li></a>
  <li class="search">
    <div><input type="text"> <input class="go" type="submit" value="GO">
    </div></li>
            
          
!
            
              body {background: #2953CF/*#3366FF*/;
font-family: "Arial";
margin: 0 0 0 0;} 

ul {margin: 0;
  background-color: #2142A6;
}

li {
  color: white;
  text-align: center;
  letter-spacing: 1px;
display: inline-block;
  width:60px;
padding: 20px;
border-bottom: solid;
  border-width: 5px;
  border-bottom-color: #2142A6;
}

li:hover {
  border-bottom: solid;
  border-bottom-color: #2953CF;
}

li:active {
  background-color: #1F3D99;
  border-width: 5px;
}

input {	position: relative;
}

input.go {
text-align: center;
border-style: none;
color: white;
background-color: #2953CF;
border-style: solid;
border-color: #2953CF;}

li.search {
  float: right;
  width: auto;
  border-style: none;
background-color: #2142A6;
}

li.search:hover {
}

div {opacity: 0;
transition: all 100ms linear;
}

div:hover {opacity: 1;
transition: all 100ms linear;
}

            
          
!
            
              /* PLEASE NOTE THAT THE SEARCH BAR DOES NOT WORK AT ALL. I'm just messing around for the first time with a search bar so it may not work. If it doesn't just get rid of the <li> that has the div inside it.*/


/* Also search bar is directly below. Hover to see.
                                      |
                                      |
                                      |
                                      |
                                      v
*/
            
          
!
999px
Loading ..................

Console