<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html><html class=''>
<head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/Hoebink/pen/dMXrMY?limit=all&page=81&q=contact+" />
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<style class="cp-pen-styles">body {
background: #2E2F40;
font-family: 'Montserrat', sans-serif;
}
nav {
max-width: 1000px;
height: 0px;
border-bottom: 100px solid #860255;
border-left: 40px solid transparent;
position: relative;
margin: 0 auto;
box-shadow: 20px 17px 27px rgba(0, 0, 0, 0.15);
}
nav::before {
content: '';
margin-top: 10%;
display: block;
}
nav .inner {
width: 100%;
height: 100px;
position: absolute;
right: 0;
overflow: hidden;
background: #860255;
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #860255), color-stop(100, #EF4B3F));
/* IE10+ */
background-image: -ms-linear-gradient(left, #860255 0%, #EF4B3F 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(left, #860255 0%, #EF4B3F 100%);
/* Opera */
background-image: -o-linear-gradient(left, #860255 0%, #EF4B3F 100%);
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(left, #860255 0%, #EF4B3F 100%);
/* W3C Markup */
background-image: linear-gradient(to right, #860255 0%, #EF4B3F 100%);
}
nav .active {
top: 80px !important;
position: relative;
transition: all .3s;
}
nav ul {
float: right;
list-style-type: none;
line-height: 6.2;
padding: 0;
margin: 0;
transition: all .3s;
position: relative;
top: 0;
}
nav li {
display: inline-block;
margin: 0;
}
nav li::before {
content: ' / ';
margin: 0 10px;
color: rgba(255, 255, 255, 0.5);
}
nav li:first-child::before {
display: none;
}
nav .search {
width: 80px;
height: 0px;
float: right;
color: #fff;
font-size: 18px;
border-bottom: 100px solid rgba(0, 0, 0, 0.1);
border-left: 40px solid transparent;
position: relative;
transition: .3s;
}
nav .search::before {
content: '';
}
nav .search:hover {
border-bottom: 100px solid rgba(0, 0, 0, 0.3);
}
nav .fa-search {
position: relative;
left: 25px;
top: 38px;
}
nav input[type=search] {
background: transparent;
border: none;
border-bottom: 2px solid #fff;
-webkit-appearance: none;
}
nav input.search_box {
position: absolute;
font-size: 16px;
color: #fff;
line-height: 4;
top: -100px;
width: 320px;
right: 130px;
transition: all .3s;
}
nav .search_box_active {
top: 15px !important;
transition: all .3s;
}
nav input:focus {
outline: none;
}
nav input::-webkit-input-placeholder {
color: #fff;
}
nav input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
height: 1px;
width: 15px;
background: transparent;
border-radius: 50%;
}
nav input[type="search"]::-webkit-search-cancel-button::before {
content: '+';
color: #fff;
font-weight: bold;
-webkit-transform: rotate(45deg);
font-size: 21px;
position: absolute;
top: -10px;
}
nav a {
color: #fff;
text-decoration: none;
}
</style></head><body>
<!-- DEMO -->
<nav>
<div class="inner">
<input class="search_box" type=search placeholder="Search...">
<div class="search"><i class="fa fa-search"></i></div>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Work</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</nav>
<script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script >// Search Toggle //
$( ".search" ).click(function() {
$( "ul" ).toggleClass( "active" );
$( ".search_box" ).toggleClass( "search_box_active" );
});
//# sourceURL=pen.js
</script>
</body></html>