JSFiddle - React, Tailwind, and code Playground

CSS3 back button, cross browser

by Jennifer Perrin

HTML

<a href="#" class="back-button">
    <span class="arrow"></span>
    <span class="button">Go Back, Previous, Before, Etc.</span>
</a>

CSS

body { margin: 20px; }

a.back-button {
    text-decoration:none;
}

a.back-button .arrow {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent #000000 transparent transparent;
    border-style: solid;
    border-width: 12px;
    display: block;
    float: left;
    height: 0;
    margin-top: 2px;
    width: 0;
}

a.back-button .button {
    background: none repeat scroll 0 0 #000000;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #E9E9E9;
    display: block;
    float: left;
    font-family: helvetica;
    font-size: 13px;
    line-height: 29px;
    padding: 0 6px 0 5px;
    text-shadow: 0 0 8px #FFFFFF;
}