<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Border Magic</title>
	<link rel="stylesheet" href="<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300i,700" rel="stylesheet">
</head>
<body>
	<div class="spy-100">
		<nav>
			<ul class="main-menu">
				<li><a href="#">home</a></li>
				<li><a href="#">about us</a></li>
				<li><a href="#">contact us</a></li>
			</ul>
		</nav>
	</div>
</body>
</html>
/* reset start */
* {
	margin: 0;
	padding: 0;
	outline: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Open Sans Condensed', sans-serif;
}

a {
	text-decoration: none;
}

li {
	list-style-type: none;
}

.spy-100 {
	padding-top: 100px;
	padding-bottom: 100px;
}
/* reset end */

/* nav design start */
.main-menu {
	position: relative; /* IMPORTANT */
	
	width: calc(100% - 60px);
	margin: 0 auto;
	padding: 10px 0;
	background: #FA911E;
	text-align: center;
	z-index: 1;
}

.main-menu li {
	display: inline-block;
}

.main-menu a {
	color: #fff;
	font-weight: 300;
	letter-spacing: 1px;
	text-transform: uppercase;
	display: block;
	padding: 0 25px;
	font-size: 16px;
	line-height: 30px;
	position: relative;
	z-index: 1;
}

.main-menu a:after {
	position: absolute;
	content: '';
	width: 1px;
	height: 80%;
	background: #fff;
	top: 50%;
	left: 100%;
	transform: translateY(-50%) rotate(35deg);
	transition: all .3s linear;
}

.main-menu a:hover:after {
	transform: translateY(-50%) rotate(-35deg);
}
/* nav design end */

/* =============================== */
/* YOUR ELEMENTS STARTED FROM HERE */
.main-menu:before {
	position: absolute;
	content: '';
	border-top: 15px solid #333;
	border-right: 15px solid #333;
	border-left: 15px solid transparent;
	border-bottom: 15px solid transparent;
	top: 100%;
	left: 0;
}
.main-menu:after {
	position: absolute;
	content: '';
	border-top: 15px solid #333;
	border-left: 15px solid #333;
	border-right: 15px solid transparent;
	border-bottom: 15px solid transparent;
	top: 100%;
	right: 0;
}
/* YOUR ELEMENTS ENDED HERE */
/* ======================== */

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.