cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

            
              <h1>Responsive Drop Down CSS Menu </h1>
<!-- swimbi code start -->
<!-- <link rel="stylesheet" type="text/css" href="menu_files/swimbi.css"/> -->
<div id="swimbi">
    <ul>
        <li><a data-icon="f015" class="empty" href="#"></a>
            <ul>
                <li><a data-icon="f005" href="http://swimbi.com">SWIMBI</a></li>
                <li><a data-icon="f006" href="http://swimbi.com">(Swift Menu Builder)</a></li>
                <li><a data-icon="f017" href="http://swimbi.com/download/">Fast and easy way</a></li>
            </ul>
        </li>
        <li><a data-icon="f13C" href="http://">CSS Menu</a>
            <ul class="columns">
                <li class="column">
                    <ul>
                        <li><a class="U">Multi Column</a></li>
                        <li><a data-icon="f012" href="http://">SEO friendly</a>
                            <ul>
                                <li><a data-icon="f002" href="http://">Indexed by search engines</a></li>
                                <li><a data-icon="f121" href="http://">Clean and simple HTML links</a></li>
                            </ul>
                        </li>
                        <li><a data-icon="f06C" href="http://">Lightweight</a>
                            <ul>
                                <li><a data-icon="f069" href="http://">Less than 10k file size</a></li>
                            </ul>
                        </li>
                        <li><a data-icon="f0AD" href="http://">Fully customizable</a>
                            <ul>
                                <li><a data-icon="f085" href="http://">Any colors, sizes, transparencies</a></li>
                                <li><a data-icon="f06D" href="http://">Animations and shadows</a></li>
                                <li><a data-icon="f0E7" href="http://">Patterns, effects, icons</a></li>
                                <li><a data-icon="f031" href="http://">Google Fonts</a></li>
                                <li><a data-icon="f06B" href="http://">70+ ready-to-use menus</a></li>
                            </ul>
                        </li>
                        <li><a data-icon="f1AE" href="http://">Friendly GUI</a>
                            <ul>
                                <li><a data-icon="f021" href="http://">Live preview</a></li>
                                <li><a data-icon="f118" href="http://">No programming skills required</a></li>
                                <li><a data-icon="f047" href="http://swimbi.com/tutorials/import/#import-nav-drag">Drag &amp; drop</a></li>
                                <li><a data-icon="f0C7" href="http://">Saves configs and presets</a></li>
                                <li><a data-icon="f090" href="http://swimbi.com/tutorials/import/">Import your links in no time</a></li>
                                <li><a data-icon="f0EC" href="http://swimbi.com/blog/swimbi-release-100/">FTP connect</a></li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li class="column">
                    <ul>
                        <li><a class="U">Second Column</a></li>
                        <li><a data-icon="f1BB" href="http://">Native</a>
                            <ul>
                                <li><a data-icon="f00D" href="http://">No plugins required</a></li>
                                <li><a data-icon="f0CC" href="http://">Works without JavaScript</a></li>
                                <li><a data-icon="f1E2" href="http://">But looks better with JS</a></li>
                            </ul>
                        </li>
                        <li><a data-icon="f0db" href="#">Nested columns</a>
                            <ul class="columns">
                                <li class="column">
                                    <ul>
                                        <li><a data-icon="f065" href="#">No limits...</a></li>
                                        <li><a data-icon="f149" href="#">with children,</a></li>
                                    </ul>
                                </li>
                                <li class="column">
                                    <ul>
                                        <li><a data-icon="f0cb" href="#">levels, nor even</a></li>
                                        <li><a data-icon="f0db" href="#">nested columns</a></li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li><a data-icon="f002" href="http://">Site Search</a></li>
                    </ul>
                </li>
                <li class="column">
                    <ul>
                        <li><a class="U">Third Column</a></li>
                        <li><a data-icon="f0b2" href="#">Adaptive</a></li>
                        <li><a data-icon="f066" href="http://">Minified code</a></li>
                        <li><a data-icon="f209" href="#">Any icons</a></li>
                    </ul>
                </li>
            </ul>
        </li>
        <li><a data-icon="f108" href="http://">Desktop</a>
            <ul>
                <li><a data-icon="f00C" href="http://">All browsers and platforms</a>
                    <ul>
                        <li><a data-icon="f17A" href="http://">Windows browsers</a></li>
                        <li><a data-icon="f179" href="http://">Mac browsers</a></li>
                        <li><a data-icon="f17C" href="http://">Linux browsers</a></li>
                    </ul>
                </li>
                <li><a data-icon="f1AE" href="http://">Intuitive navigation</a></li>
                <li><a data-icon="f087" href="http://">Easy updates with Swimbi</a>
                    <ul>
                        <li><a data-icon="f17A" href="http://">Windows app</a></li>
                        <li><a data-icon="f179" href="http://">Mac app</a></li>
                        <li><a data-icon="f1A0" href="http://">Chrome app</a></li>
                    </ul>
                </li>
            </ul>
        </li>
        <li><a data-icon="f10B" href="http://">Mobile</a>
            <ul>
                <li><a data-icon="f0C9" href="http://">Responsive to small screens</a></li>
                <li><a data-icon="f0A6" href="http://">Touch screens compatible</a></li>
                <li><a data-icon="f06E" href="http://">Similar look and behavior</a></li>
            </ul>
        </li>
        <li><a data-icon="f03A" href="http://f-source.com" target="_blank">Drop down</a>
            <ul>
                <li><a data-icon="f00A" href="http://">Multi-level</a></li>
                <li><a data-icon="f0AE" href="http://">Unlimited nesting</a></li>
                <li><a data-icon="f0D0" href="http://">Adaptive</a></li>
            </ul>
        </li>
        <li><a class="swsearch" href="https://google.com/search?q=site:swimbi.com" target="window"><input name="search" type="text"><span class="mglass"></span><span class="slabel">Search</span></a></li>
    </ul>
</div>
<!-- <script src="menu_files/swimbi.js"></script> -->
<!-- swimbi code end -->

<a href="http://swimbi.com" target="_blank" id="sw-link"><img alt="Css menu now" src="//swimbi.com/img/swimbi-b5.png" title="visit swimbi.com" width="100" height="26" border="0" /></a> 
            
          
!
            
              h1{
  font-family: Arial;
}
html {
  width: 100%;
  height: 100%;
}
#sw-link{
  position: absolute;
  bottom: 20px;
  left: 20px;

}
#sw-link img{
  border-radius: 4px;
  box-shadow: 0 1px 2px #888;
}
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgb(105,155,200);
  background: -moz-radial-gradient(top left, ellipse cover,  rgba(105,155,200,1) 0%, rgba(181,197,216,1) 57%);
  background: -webkit-gradient(radial, top left, 0px, top left, 100%, color-stop(0%,rgba(105,155,200,1)), color-stop(57%,rgba(181,197,216,1)));
  background: -webkit-radial-gradient(top left, ellipse cover,  rgba(105,155,200,1) 0%,rgba(181,197,216,1) 57%);
  background: -o-radial-gradient(top left, ellipse cover,  rgba(105,155,200,1) 0%,rgba(181,197,216,1) 57%);
  background: -ms-radial-gradient(top left, ellipse cover,  rgba(105,155,200,1) 0%,rgba(181,197,216,1) 57%);
  background: radial-gradient(ellipse at top left,  rgba(105,155,200,1) 0%,rgba(181,197,216,1) 57%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#699bc8', endColorstr='#b5c5d8',GradientType=1 );

}

#swimbi{
	padding: 20px 0px 0 0px;
	position: absolute;
	width: 100%;
	text-align: center;
	z-index: 9999;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	left: 0px;
}
#swimbi a:not([href]){
	cursor: default;
}
#swimbi a.B{
	font-weight: bold !important;
}
#swimbi a.I{
	font-style: italic !important;
}
#swimbi a.U{
	text-decoration: underline !important;
}
#swimbi>ul{
	background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAlCAYAAACDKIOpAAAAbUlEQVQIW2Nk4eL5z2jWsvA/o92MXf8ZzdsWQwmz1kX/GU2b5v9nNGmY85/RqGYGkKie9p/RsHzif0aDsglAorTvP6N+SS+QKOr+z6hX2AUkCjr/M+rmt/9nVAxKBRN/4CyE2H9GpZA0sgmQmwEL8ko6ZV2yqAAAAABJRU5ErkJggg==');
	padding: 0 12px 0 12px !important;
	border-radius: 5px;
	box-shadow: 0px 1px 7px  0px rgba(0,0,0,.86);
	width: auto;
	text-align: none;
	list-style: none;
	position: relative;
	white-space: nowrap;
	display: inline-table;
	font-size: 0px;
}
#swimbi ul, #swimbi li, #swimbi a{
	font-family: Oswald !important;
	margin: 0;
	padding: 0;
}
#swimbi>ul>li{
	display: inline-block;

	vertical-align: top;
	font-size: 16px;
	position: relative;
}
#swimbi ul li:hover>ul, .hvr>ul{
	display: block !important;
	visibility: visible;
	opacity: 1;
	pointer-events:  all; -webkit-transform: scale3d(1,1,1); -ms-transform: scale3d(1,1,1); transform: scale3d(1,1,1); -webkit-transition: all 0.25s ease-out; -ms-transition: all 0.25s ease-out; transition: all 0.25s ease-out;
}
#swimbi>ul>li:hover>a, .hvr>a{
	color: #ffffff !important;
	border-radius: 0px;
	z-index: 9;
}
#swimbi ul li a{
	display: block;
	text-decoration: none;
	white-space: nowrap;
}
#swimbi>ul>li>a{
	padding: 0px 18px;
	line-height: 37px;
	height: 37px;
	color: #ffffff;
	text-shadow: 0px 1px 1px rgba(0,0,0,.88);
}
#swimbi ul ul{
	font-size: 14px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	opacity: 0; -webkit-transform: translateY(-20%) scale3d(0.1,0.1,0.1); -ms-transform: translateY(-20%) scale3d(0.1,0.1,0.1); transform: translateY(-20%) scale3d(0.1,0.1,0.1);
	visibility: hidden;
	display: block;
	pointer-events: none;
	background: #38788c;
	border-radius: 0px;
	width: auto;
	list-style: none;
	min-width: 160px;
	padding: 0px 1px 1px 1px;
	position: absolute;
	z-index: 7;
	margin-top: 0;
	box-shadow: 0px 0px 10px  0px rgba(0,0,0,.80);
	top: 37px;
}
#swimbi ul ul.columns{
	font-size: 0px;
}

#swimbi ul ul li.column{
	display: inline-block;
	width: auto;
	vertical-align: top;
}

#swimbi ul ul li.column>ul{
	position: relative;
	display: block;
	box-shadow: none;
	background: none;
	left:0;
	padding: 0;
	visibility: visible;
	opacity: 1;
	transform: none;
  -ms-transform: none;
  -webkit-transform: none;
}

#swimbi ul ul li.column>ul:hover{
	z-index: 9;
}

#swimbi ul ul li{
	float: none;
	position: relative;
	width: 100%;
	text-align: left;
}
#swimbi ul ul li a{
	padding-left: 15px;
	padding-right: 63px;
	line-height: 27px;
	height: 27px;
	color: #ffffff !important;
	text-shadow: 0px 1px 0px rgba(0,0,0,1);
}
#swimbi ul ul li>a:after{
	content: '';
	position: absolute;
	right: 10px;
	top: 50%;
	width: 0;
	height: 0;
	margin: -4px 5px;
	border-left: 5px #ffffff solid;
	border-top: 4px dashed transparent;
	border-bottom: 4px dashed transparent;
	border-right: none;
	display: inline-block;
	overflow:hidden;
}
#swimbi ul ul li>a:only-child:after{
	display: none;
}
#swimbi ul ul li:hover>a{
	border-radius: 0px;
	color: #ffffff !important;
}
#swimbi ul ul li:hover>a:after{
	border-left: 5px #ffffff solid;
}
#swimbi ul ul li a:hover{
	border-radius: 0px;
	background: #225466;
}
#swimbi ul ul li a:hover:after{
	border-left: 5px #ffffff solid;
}
#swimbi canvas{
	position: absolute;
	width: 1px;
	height: 1px;
}
canvas noscript{
	display: none;
}
#swimbi ul ul ul{
	position: absolute;
	z-index: 7;
	left: 100%;
	top: 0;
}
#ie_message{
	display:none;
}
@media screen and (min-width:0\0){
#ie_message{
	display: block;
	margin-top: 10px;
	background: #ecc;
}
}
@font-face{
font-family:'ifont';
src:url('https://netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?v=4.3.0');
src:url('https://netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),url('https://netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),url('https://netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),url('https://netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
}

#swimbi ul>li>a:before, #swimbi>ul>li>a:after{
	color: #ffffff;
	font-family: ifont;
	pointer-events: none;
	line-height: 37px;
	font-size: 18px;
	padding: 0 14px 0 0;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	float: left;
	content: attr(data-icn);
	visibility: hidden;
}

#swimbi>ul>li>a:after{
	visibility: visible;
	position: absolute;
	z-index: 6;
	top:0;
	left: 18px;
	padding: 0;
	text-shadow: -1px -1px 0 rgba(0,0,0,.88);
	transition: all .12s ease-out;
}

#swimbi ul>li>a:before, #swimbi>ul>li>a:after{
	width: 18px;
}

#swimbi>ul>li>a[data-icon]:before{
	height: 18px;
}

#swimbi>ul>li>a.empty:before, #swimbi>ul>li>a.empty:after{
	padding: 0;
}

#swimbi>ul>li:hover>a:after, #swimbi>ul>li.hvr>a:after{
	color: #ffffff;
	font-size: 23px;
	left: 15.5px;
	text-shadow: -1px -1px 0 rgba(0,0,0,.88);
}

#swimbi ul ul li a:before{
	visibility: visible;
	float: left;
	color: #ffffff;
	line-height: 27px;
	font-size: 16px;
	width: 16px;
	height: 16px;
	padding: 0 8px 0 0;
}

#swimbi ul ul li:hover>a:before{
	color: #ffffff;
}


#swimbi a.swsearch{
	width: 152px;
}

#srchSibl:after,#srchSibl:before{
	display: none !important;
}

#swimbi a.swsearch:hover{
	position: absolute;
	width: 289px;
	right: 0;
	transition: all .2s ease-out;
  -webkit-transition: all .2s ease-out;
}

#swimbi a.swsearch:hover{
	background:none !important;
}

#swimbi a.swsearch input{
	height: 24px;
	float: left;
	margin: 6px 0 0 1px !important;
	width: 100%;
	position: relative;
	padding: 2px 5px !important;
	outline: none;
	box-sizing: border-box;
	box-shadow: inset 0 1px 3px #000;
	border: none;
	border-bottom: 1px solid rgba(245,245,245,.2);
	background: #f3f3f3;
	color: #555;
	border-radius: 2px;
}

#swimbi a.swsearch input:-webkit-autofill{
	transition: background-color 5000s ease-in-out 0s;
}

#swimbi a.swsearch input:focus+.mglass, #swimbi a.swsearch input:focus~.slabel{
	display: none;
}

#swimbi .mglass{
	position:absolute;
	border-radius: 30px;
	height: 6px;
	width: 6px;
	left: 24px;
	top: 12px;
	border: 2px solid #888;
	pointer-events:none;
}

#swimbi .mglass:after{
	content: '';
	height: 2px;
	width: 6px;
	background: #888;
	position:absolute;
	top:7px;
	left:5px;
	transform: rotate(45deg);  
	-ms-transform: rotate(45deg);  
	-webkit-transform: rotate(45deg);  
}

#swimbi .slabel{
	display: inline-block;
	position: absolute;
	z-index: 897;
	left: 42px;
	color: #aaa;
	text-shadow: none;
	pointer-events:none;
}

 #swmobsearch{
	position: absolute;
	z-index: 987;
	top: 20px;
	line-height: 37px;
	font-size: 16px;
	right: 69px;
	left: 30px;
	width: auto !important;
	height: 100%;
}

 #swmobsearch .mglass{
	left: 6px !important;
}

 #swmobsearch .slabel{
	left: 24px !important;
}

 #swmobsearch:hover{
	right: 69px !important;
	width: auto !important;
	left: 30px !important;
}

@media (max-width: 768px) {
	#swimbi>ul{
		min-width: 300px !important;
		width: 100%;
		height: 37px;
		padding: 0 !important;
	}

	#swimbi ul li{
		float: none;
		display: block;
		position:relative;
	}

	#swimbi>ul>li{
		width: auto !important;
		margin: 0 6px 0 6px;
	}

	#swimbi>ul>li>a{
		display:none;
	}

	#swimbi>ul:hover>li>a, .hvr>li>a{
		display:block !important;
	}

	#swimbi>ul:hover~#swmobsearch, .hvr~#swmobsearch{
		display:none !important;
	}

	#swimbi>ul>li:hover, .hvr{
		z-index: 9 !important;
	}

	#swimbi>ul:before {
		float: right;
		line-height: 37px;
		content: '';
		margin: 12px 22px 11.875px 0;
		width: 17px;
		height:2.625px;
		border-top: 7.875px double #ffffff;
		border-bottom: 2.625px solid #ffffff;
	}

	#swimbi>ul:hover:before, #swimbi>ul.hvr:before {
		opacity: 0;
	}

	#swimbi ul ul ul{
		margin-top: 25px;
	}

	#swimbi ul ul {
		left: 25px !important;
	}

	#swimbi ul ul li.column{
		display: block;
	}

	#swimbi ul ul li.column>ul{
		left: 0 !important;
		margin-top: 0;
	}

}

            
          
!
            
              //made by swimbi app v1.9.0 (swimbi.com)
var u=!1;
(function(r,W,G,w,e,L,X,ea,oa,g,x,S,C,y,M,b,T,pa,qa,ra,sa,fa,xa,H,N,O,P){function ga(a){z=A+r;return String.fromCharCode(a)+x}function Y(a){z=A+r;return W.createElement(a)}function Q(a){D.width=a.offsetWidth;D.height=a.offsetHeight}function ha(a,h){for(var c;a<Z.length;a++)c=Z[a],c.w.offsetWidth!=c.C&&(c.C=c.w.offsetWidth,h=1);h&&!$&&($=!n(k,C).offsetWidth);c=G.innerWidth!=U;$&&(F=u,h=0,c&&n(k,C).offsetWidth&&G["location"].reload(u),ta());if(c||F||h)U=G.innerWidth,ia(R,b.m,b.k,b.l,0,0),F&&(F=u);setTimeout(function(){ha(0,0)},100)}function ta(){var a=k.getElementsByClassName("swsearch")[0];if(a){var b=a.parentNode;a.id="swmobsearch";R.appendChild(a);k.removeChild(b)}}function ja(a){y.src=b.H+","+a.b;y.onload=function(){D.width=D.width;a.s=y.width;a.r=y.height;t.drawImage(y,e,e,a.s,a.r);ka=t.getImageData(e,e,a.s,a.r);a.J=ka;a.a[g]&&(a.A=a.a[g]);var b=a.a[s];b&&(b==r&&(a.L=r),b==A&&(a.M=r),b==g&&(a.K=r));a.K&&(a.d.src=y.src);a.e=a.a[e];a.f=a.a[r];a.z=a.a[A];a.g=a.a[z];a.j=e;a.B=e;a.q=e;a.v=e;a.a[s+r]&&(a.j=a.a[s+r]);a.a[s+A]&&(a.B=a.a[s+A]);a.a[s+z]&&(a.q=a.a[s+z]);a.a[s+g]&&(a.v=a.a[s+g]);a.A&&(a.d=new Image,a.d.src=y.src);T.length>e?ja(T.pop()):ha()}}function V(a){function b(c,f){for(var h=e;h<g;h++)s[c+h]=x[f+h],h==z&&(s[c+h]=a.alpha*x[f+h]|e)}function c(a,c){for(var d=e;d<a;d+=g)b(v+d,c?f:f+d);v+=n}function d(a,c){for(var d=e;d<a;d+=g)b(v+d,c?f:f+d),y.I(f,v+d,c?f:f+d);v+=n+k}function la(b,c,f){for(var d=e;d<g;d++)s[c+d]=(x[f+d]+x[q+f+d])/A|e,d==z&&(s[c+d]=a.alpha*s[c+d]|e);--b;b>e&&la(b,n+c,f)}if(!(a.b<e)){var E=D.width-a.j-a.B,l=D.height-a.q-a.v,m=a.s,p=a.r;if(a.A)t.globalAlpha=a.alpha,t.drawImage(a.d,a.j,a.q,E,l),t.globalAlpha=1;else if(0!=E){var ma=t.createImageData(E,l),q=m*g,n=E*g,k=e,B=a.z+a.g,w=(l-B-(p-B)+r)/(p-B),s=ma.data,x=a.J.data,B=a.z*q,C=(p-a.g)*q,v=e,f;for(f=e;f<B;f+=q)c(a.e*g,u);var y=new function(){var a,b,c;return{I:function(d,f,h){b<d&&(a+=w,a>r?(c=a|e,k=n*c,a%=r):c=k=e);b=d;c>e&&la(c,n+f,h)},t:function(){a=b=c=e}}};y.t();for(f=B;f<C;f+=q)d(a.e*g,u);var v=(l-a.g)*n,F=(p-a.g)*q;for(f=F;f<p*q;f+=q)c(a.e*g,u);v=(E-a.f)*g;for(f=m=(m-a.f)*g;f<B;f+=q)c(a.f*g,u);y.t();for(f=m+B;f<m+C;f+=q)d(a.f*g,u);v=(l-a.g)*n+(E-a.f)*g;for(f=F+m;f<p*q;f+=q)c(a.f*g,u);v=a.e*g;E=(E-a.e-a.f)*g;for(f=v;f<B;f+=q)c(E,!0);B=a.e*g+C;for(y.t();f<B;f+=q)d(E,!0);v=a.e*g+(l-a.g)*n;for(f=B;f<p*q;f+=q)c(E,!0);t.putImageData(ma,a.j,a.q)}}}function na(a,h){if(a&&a.parentNode.getAttribute(P)!==O){var c=I(a)+a.offsetWidth;if(0==h&&a.getAttribute(P)==O+"s"&&!b.u){var d=I(k)+k.offsetWidth;if(k.offsetWidth>=a.offsetWidth){if(c>d)var e=c-d}else I(k)<I(a)&&(e=I(a)-(I(k)-(a.offsetWidth-k.offsetWidth)/2|0));J(a,"left:-"+e+H)}else c>U&&(0==h?J(a,"left:-"+(c-U+10)+H):J(a,"left:"+-(a.offsetWidth-a.parentNode.offsetWidth+30)+H+"; margin-top:"+n(a,C).offsetHeight+H))}}function ua(a,h,c,d){function e(){var a=parseInt(p.style.top);0!=a&&(0<a&&a--,0>a&&a++,p.style.top=a+H,setTimeout(function(){e()},20))}function g(){clearInterval(l);l=null;m.setAttribute(b.c,"background:none;");Q(m);K(m)}var l,m=n(a,C),p;a.onmouseover=function(){if(!l&&a.offsetHeight===m.offsetHeight&&(Q(m),V(h),c||aa(b.i,1),K(m),c&&"number"!==typeof swAnim&&a.getAttribute(P)!==O)){var g=!0;ba&&ba.offsetTop<a.offsetTop&&(g=u);ba=a;if(p=n(a,S))p.style.top=(g?8:-8)+H,e()}clearInterval(l);l=null;g=n(a,S);na(g,d);!g&&h.M&&m.setAttribute(b.c,"background:none;")};a.onmouseout=function(){l=setInterval(g,10)}}function ia(a,h,c,d,e,g){var l=n(a,S);if(l){if(e){var m=g++;J(l,ra);na(l,m)}for(var p;p=p?ca(p.nextSibling):ca(l.firstChild);){var k=m=n(p,C),q=k.getAttribute("data-icon");q&&k.setAttribute("data-icn",ga("0x"+q));p.removeAttribute(b.c);Q(m);c.L&&n(l,sa)==p||l.getAttribute(P)===O+"s"||V(c);if(e)K(m);else if(b.u){var k=p,q=h,s=!e;Q(k);k.removeAttribute(b.c);V(q);s&&aa(b.h);K(k)}K(p);J(p,"width:"+m.offsetWidth+"px");ua(p,d,e,g);ia(p,b.p,b.n,b.o,r,g)}if((!b.u||e)&&a.getAttribute(P)!==O)a=!e,Q(l),l.removeAttribute(b.c),V(h),a&&aa(b.h),K(l);e&&(h=l.getAttribute(b.c).replace(/display\s*:\s*block\s*;/,x),l.setAttribute(b.c,h))}!e&&"function"===typeof swdoneCB&&swdoneCB(ea)}function I(a){for(var b=0;a;)b+=a.offsetLeft,a=a.offsetParent;return b}function aa(a,b){if(a.d.src){var c=t.createPattern(a.d,"repeat"),d=a.a;t.rect(d[e],d[A],D.width-d[e]-d[r],D.height-d[A]-d[z]);t.fillStyle=c;b&&(t.globalCompositeOperation="source-atop");t.globalAlpha=a.alpha;t.fill();t.globalAlpha=1}}function J(a,e){var c=a.getAttribute(b.c);a.setAttribute(b.c,(c?c+";":x)+e)}function K(a){J(a,b.G+pa+D.toDataURL()+qa)}function n(a,b){g=A+A;return a.getElementsByTagName(b)[e]}function ca(a){if(a)return!a.tagName?ca(a.nextSibling):a}function va(){ja(T.pop())}var ka,A=r+r,z=g-r,wa=L.slice(-r),s=A+z;b.m={};b.k={};b.l={};b.m.b=1012;b.m.alpha=1;b.m.a=[7,6,6,6];b.k.b=92;b.k.alpha=1;b.k.a=[2,0,1,1,0,1];b.l.b=540;b.l.alpha=.80;b.l.a=[3,3,5,3,0,0,1,0,1,1];b.D=5;b.c=2;b.H=18;b.G=11;b.N=4;b.F=1079;b.h={};b.p={};b.n={};b.o={};b.i={};b.h.b=192;b.h.alpha=.30;b.h.a=[1,1,1,1,0,4];b.h.d=new Image;b.p.b=272;b.p.alpha=.88;b.p.a=[1,1,1,2];b.n.b=-3;b.n.alpha=.88;b.n.a=[0,0,0,0,0,1];b.o.b=500;b.o.alpha=.75;b.o.a=[3,3,3,3,0,0,2,2,2,1];b.i.b=280;b.i.alpha=.17;b.i.a=[1,0,1,1,0,4];b.i.d=new Image;b.u=0;var da="A4AAAAkCAYAAAC5fwuBAAAC0UlEQVRIS+3VSUwTURgH8O+b6XSZFlptG1qxgEa9mMgiyAFNPHhSg9vJhWAwJhpjokSCuASIIhIMmhijiZFIcDm5EfXkAaMcEGQx8aJGoYgtoY0s7XSZmY6vHSpFCHnGq+/4ZX7vvXz55v0RUpaGNz1BgAIFIDO1TmqjpNYnCYFdyTqpATAGY3V6zpoGW14JmFyrQJu+JNVBdOonBEa+gG+gC6aGPp2NhYJNCagxpkXWHq1j9VYHsAYjMhwHDMslcEwWISaKIIeCStjvhY8362QpOK1Dgl7nlJaX2As2IWeygCgEQCEfK5JIbgeAGg6RbMLxJhADEzDe90YZ6mjrikN/XtVVM+/IwuiED5SYnAB/LmRY1FpsIHjdykDzyUkkDZGKLz/EWEQAORpZECU3YbU6ZHQ8dJ/eq6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sACPINA1knhd9TocDgmd3groEVTbSJcBsBgkFHw+V+We43b8Xmu3SgyyJgACMQeKrM6FLaB9fDey1TpmbDqidkhJKJwGETw/TD2keIlfgR/G3AAAAAElFTkSuQmCCGvodujpotuzmfebub;jnbhf0qoh<cbtf75cbdlhspvoe;vsmdRtwkLcwbs!ovtus>(=dbowbt?=b!isfg>#00txjncj/dpn#?Nblf!txjncj!uibu!cvjmefs!nfov=0b?!wjtju!txjncj/dpn=0dbowbt?(<b\\5^)*<xjoepx/beeFwfouMjtufofs)#mpbe#-gvodujpo)*|wbs!e>epdvnfou-x>xjoepx-m>x/mpdbujpo-io>m/iptuobnf-dmfbsVSM>gvodujpo)q*|sfuvso!q/tqmju)#@#*\\1^/tqmju)#$#*\\1^/sfqmbdf)0)joefy}efgbvmu*]/\\]T^+%0j-((*~-ije>gvodujpo)fm*|wbs!tu>fm''x/hfuDpnqvufeTuzmf''x/hfuDpnqvufeTuzmf)fm*<sfuvso!tu'')tu/ejtqmbz>>>(opof(}}tu/wjtjcjmjuz>>>(ijeefo(}}fm/pggtfuQbsfou>>>ovmm*~-mol>e/hfuFmfnfouCzJe)(tx.mjol(*-sfh-mjt-j>1<io>io''io/tqmju)#/#*/sfwfstf)*\\2^<jg)_0gjmf;}bqq;0/uftu)m/qspupdpm**|mjt>b\\3^/hfuFmfnfoutCzUbhObnf)(mj(*<xijmf)ije)mjt\\j^**j,,<jg)dmfbsVSM)b\\2^)mjt\\j^-#b#*/isfg*>>>dmfbsVSM)m/isfg**|sfh>io''b\\4^''b\\4^/joefyPg)io*?>1<jg)sfh*|b\\3^/joofsIUNM,>ovtus~fmtf|wbs!mjolGpvoe>mol''mol/isfg''mol/opefObnf/nbudi)0b0j*''mol/isfg/nbudi)0]0]0)@;xxx]/*@txjncj/dpn0*''_mol/sfm-gjmme>mol''mol/joofsIUNM/nbudi)0]T,]t]T,0*<jg)_mjolGpvoe}}ije)mol*}}_gjmme*|mjt\\j^/joofsIUNM>#=b!isfg>00txjncj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g==CIAAAAsCAYAAAAATWqyAAAArUlEQVRYR+2YUQqAIBBE3Vt1/4uZihu0IaJ+9D4mkIgMZmfGSddSSlcZKedcb8PLzNo7nxef/cPteRggpcLGyHYlgakRpSMGHyZxQFY1jpWfMmrOCAbIaUWrq+7DqDzSc8uV4HgEE2gYIDiz/r58MdJggMgjIeM5gYb5+2LMigGCkQYDBCMNBoiSVcnaGRjte+oRX92AV5sDE2gYIPJIbIUpWZWss2SVR+SRiUduLD0hplVfozQAAAAASUVORK5CYII=";
(function(){for(var a in b){var h;var c=b[a].b||b[a],d=(c^c>>31)-(c>>31);c<e?h=x:(c=da.slice(e,d+z),da=da.substr(d+z),h=c);if(b[a].b){if(b[a].b>e){d=oa+h;c=d.length%g;for(c>e&&(c=g-c);c-- >e;)d+=wa;b[a].b=d;T.push(b[a])}}else if(h){var d=b,c=a,k=x,n=e,l=h.length,m=x;do m=h.charCodeAt(n++)-(g-z)*r,94==m&&(m=33),k+=ga(m);while(n<l);d[c]=k}else 0>b[a]&&(b[a]=x)}})();var U=0,ba,R=W.getElementById(ea);if(R){var k=n(R,S);L=k.childNodes;var Z=[];for(M=0;M<L.length;M++)(fa=L[M].offsetWidth)&&Z.push({w:L[M],C:fa});var D=Y(w),$=!n(k,C).offsetWidth,F=u;G.WebFontConfig={};w=G.WebFontConfig;w[N]={};w[N].families=["Oswald"];w.loading=function(){F=u};w.active=function(){F=!0};w.inactive=function(){F=u};N=Y("script");N.src=("https:"==W.location.protocol?"https":"http")+"://ajax.googleapis.com/ajax/libs/webfont/1.4.2/webfont.js";w=document.getElementsByTagName("script")[0];w.parentNode.insertBefore(N,w);if(D.getContext){var t=D.getContext(X);X=[Y,n,R,b.N,va];(new G[b.D](C,b.F))(X)}}})(1,document,window,"canvas",0,"(){}.,;=","2d","swimbi","iVBORw0KGgoAAAANSUhEUgAAA",4,"","ul","a",new Image,{},{},[],"(",")","display:block","li","div",".","px","google","column","class");
(function(d,e,h){function g(){var b,c=0,a=document.querySelectorAll(".hvr"),f=a.length;if(0!=f)for(;c<f;c++)b=a[c],b.nodeName.toLowerCase()!=d&&(b.getElementsByTagName("a")[0].href=b.a,b.a=!1,b.classList.remove(e))}function l(b){b.target.nodeName.toLowerCase()==d&&b.preventDefault()}function k(b,c){document.addEventListener&&document.addEventListener(b,c)}k("touchstart",function(b){var c=b.target,a;a:{for(a=c.parentNode;null!=a;){if(a==h){a=!0;break a}a=a.parentNode}a=!1}if(a){a=c.parentNode;var f=!!a.getElementsByTagName(d)[0];c.nodeName.toLowerCase()==d?(b.preventDefault(),c.classList.add(e)):f?(a.a?c.href=a.a:(a.a=c.href,c.href="javascript:void(0);",g()),a.classList.add(e)):g()}else h.getElementsByTagName(d)[0].classList.remove(e),g()});navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&navigator.userAgent.match(/AppleWebKit/)&&k("touchend",l)})("ul","hvr",document.getElementById("swimbi"));
(function(e,g,n,k,f,p,q,r){function l(){return a==document.getElementById("swmobsearch")}function b(a,c,b){a.setAttribute(c,b);b||a.removeAttribute(c)}var c=document.getElementById(p).getElementsByTagName("input")[0],a=c.parentNode,h=c.nextSibling,m=h.nextSibling,d=a.parentNode.parentNode.children[r];d&&(d=d.getElementsByTagName("a")[0]);c.url=a.href;b(a,"href",0);c.onkeypress=function(b){13===b.keyCode&&(b=c.url+" "+c.value,"_blank"===a.target?window.open(b):"window"===a.target?window.open(b,"","width=900"):window.location.href=b)};c.onblur=function(){0<c.value.length?(h.style[e]=g,m.style[e]=g):(h.style[e]="",m.style[e]="");!l()&&q&&(b(a,f,0),b(d,f,0),a.style[n]="",a.style[k]="")};0<c.value.length&&(c.value="");0>p.indexOf("vertical")&&(q?(a.onclick=function(){l()||(b(a,f,"srchAct"),b(d,f,"srchSibl"),a.style[n]=g,h.style[e]=g,m.style[e]=g,a.style[k]=782)},a.onmouseover=function(){l()||(a.style[k]=783)}):(a.onmouseover=function(){b(d,f,"srchSibl")},a.onmouseout=function(){b(d,f,0)}))})("display","none","background","z-index","id","swimbi",false,4);
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console