CodePen

HTML

            
                <div id="header"> 
<div class="navigation">
    <ul>
		<li class="home">
			<a href="#home" class="a-nav">
				<span></span>
				<span><img src="https://dl.dropbox.com/u/66278364/home.png"></span>
				<span>Home</span>
			</a>
		</li>
		<li class="work">
			<a href="#work" class="a-nav">
				<span></span>
				<span><img src="https://dl.dropbox.com/u/66278364/home.png"></span>
				<span>Work</span>
			</a>
		</li>
		<li class="about">
			<a href="#about" class="a-nav">
				<span></span>
				<span><img src="https://dl.dropbox.com/u/66278364/home.png"></span>
				<span>About</span>
			</a>
		</li>
		<li class="home">
			<a href="#home" class="a-nav">
				<span></span>
				<span><img src="https://dl.dropbox.com/u/66278364/home.png"></span>
				<span>Home</span>
			</a>
		</li>
	</ul>
</div>
  </div>
            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              *, ::after, ::before {
	box-sizing: border-box; *behavior: url(scripts/boxsizing.htc);
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

html,body {
	margin: 0px;
	padding: 0px;
}

body {
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-family: 'Whitney Light';
	font-weight: 500;
}

a {
	text-decoration: none;
}

img {
	border: none;
}

ul, li {
	margin: 0px;
	padding: 0px;
}

li {
	display: list-item;
	text-align: -webkit-match-parent;
}

ul {
	list-style: none outside;
}

#header {
	background: #bada55;
	width: 100%;
	height: 120px;
}

.a-nav {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: block;
	float: left;
	position: relative;
	margin: 0px 10px;

	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
}

.a-nav span {
	display: table-cell;
	width: 100px;
	height: 100px;
	text-align: center;
	vertical-align: middle;

	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.a-nav span:nth-child(1),.a-nav span:nth-child(3) {
	position: absolute;
	top: 40px;
	left: 0;
	font-size: 20px;
	line-height: 20px;
	color: #fff;
	text-transform: none;
	font-family: 'Lato';
	font-weight: 300;
	text-shadow: 1px 1px 10px #000;

	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

.home .a-nav {
	background: rgba(255,255,255,1);  /**box-shadow:  0 0 0 0 rgba(200, 95, 66, 0.4) inset, 0 0 0 2px rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.1);**/
	  
}

.home .a-nav:hover {
	background: rgba(255,255,255,0.5); /** box-shadow:  0 0 0 0 rgba(200, 95, 66, 0.4) inset, 0 0 0 2px rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.1);**/
}

.work .a-nav {
	background: rgba(213,3,67,1);
}

.work .a-nav:hover {
	background: rgba(213,3,67,0.75);
}

.about .a-nav {
	background: rgba(234,184,1,1);
}

.about .a-nav:hover {
	background: rgba(234,184,1,0.75);
}

.services .a-nav {
	background: rgba(0,165,226,1);
}

.services .a-nav:hover {
	background: rgba(0,165,226,0.75);
}

.contact .a-nav:hover {
	background: rgba(100,0,224,1);
}

.contact .a-nav:hover {
	background: rgba(100,0,224,0.75);
}

.a-nav:hover span:nth-child(3) {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.a-nav:hover span:nth-child(2) {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;

	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-o-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
}

.a-nav:hover span:nth-child(1) {
	-webkit-animation: rotate 1s linear;
	-moz-animation: rotate 1s linear;
	-ms-animation: rotate 1s linear;
	-o-animation: rotate 1s linear;
	animation: rotate 1s linear;
}

.a-nav:active {
	-webkit-box-shadow: 0 0 5px 4px rgba(0,0,0,0.2) inset,0 0 0 8px #fff inset,0 0 5px 10px rgba(0,0,0,0.2) inset,0 0 0 6px #fff,0 2px 8px 8px rgba(0,0,0,0.2);
	box-shadow: 0 0 5px 4px rgba(0,0,0,0.2) inset,0 0 0 8px #fff inset,0 0 5px 10px rgba(0,0,0,0.2) inset,0 0 0 6px #fff,0 2px 8px 8px rgba(0,0,0,0.2);
	/*box-shadow: inner shadow,inner white ring,inner inner shadow,outer white ring,outer shadow*/
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................