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.

            
              <form action="#" onsubmit="return false"><input id="input_search" name="search" type="search" placeholder="Digite aqui" /><button id="button_search" type="submit"><i class="fa fa-search" aria-hidden="true"></i></button><label for="input_search"><i class="fa fa-search" aria-hidden="true"></i></label></form>
            
          
!
            
              * {
	transition: all 0.375s cubic-bezier(0.0, 0.0, 0.2, 1);
	box-sizing: border-box;
}
body {
	background-color: #eee;
	background-image:
		linear-gradient(45deg, #bbb 25%, transparent 25%, transparent 75%, #bbb 75%),
		linear-gradient(45deg, #bbb 25%, transparent 25%, transparent 75%, #bbb 75%);
	background-size: 20px 20px;
	background-position: 0 0, 10px 10px;
	text-align: center;
}
form {
	display: inline-block;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
form:hover {
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
form > * {
	display: inline-block;
	overflow: hidden;
	font-size: 13pt;
	vertical-align: middle;
}
label, button {
	cursor: pointer;
	width: 46px;
	background-color: #2196f3;
	padding: 3px;
	text-align: center;
	color: #fff;
}
input, label, button {
	height: 46px;
	border-radius: 3px;
	padding: 5px;
	border: solid 1px #3f51b5;
}
input {
	outline-color: #568bec;
	border-right-width: 0;
	border-radius: 3px 0 0 3px;
}
label {
	line-height: 35px;
}
button {
	border-left-width: 0;
	border-radius: 0 3px 3px 0;
}
label:hover, button:hover {
	background-color: #1976d2;
	border-color: #303f9f;
/* 	color: #9e9e9e; */
}
input:not(:focus) {
	width: 0;
	margin: 0;
	border: 0;
	padding: 0;
}
input:not(:focus) ~ button {
	display: none;
}
input:focus {
	width: 200px;
}
input:focus ~ label {
	display: none;
}
input:focus ~ button {	
	display: inline-block;
}
            
          
!
999px
Loading ..................

Console