Creating arrows with CSS

<style type=”text/css”>
.vertical_facing_arrow {
border-color: #000 transparent;
border-style: solid;
border-width: 10px 10px 0;
display: inline-block;
font-size: 0;
height: 0;
line-height: 0;
width: 0;
.vertical_facing_arrow:hover {
border-color: transparent transparent #FFF;
border-width: 0 10px 10px;
<br />
<div id=”container”>

<style type=”text/css”>
arrow-block {
float:    left;
display: block;
position: relative;
width: 220px;
height: auto;
margin: 20px;
.horizontal {
float: left;
display: block;
width: 200px;
height: 15px;
background: #333;
.arrow-left {
float:    left;
border-right: 20px solid #333;
border-top:    20px solid transparent;
border-bottom: 20px solid transparent;
width: 0px;
margin: -12px 0 0 0;
<br />

By Rz Rasel Posted in Css

3 comments on “Creating arrows with CSS

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s