Vertex Bar CSS Styles

by Eric

HTML

<div class="bar"></div>

CSS

.bar
{
    width: 200px;
    height: 40px;
    
    border: 1px solid #073766;
    
    background: rgb(26,98,145); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(26,98,145,1) 0%, rgba(7,57,105,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(26,98,145,1)), color-stop(100%,rgba(7,57,105,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(26,98,145,1) 0%,rgba(7,57,105,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(26,98,145,1) 0%,rgba(7,57,105,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(26,98,145,1) 0%,rgba(7,57,105,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(26,98,145,1) 0%,rgba(7,57,105,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a6291', endColorstr='#073969',GradientType=0 ); /* IE6-9 */
    
    -moz-box-shadow:    inset 0 0 3px #4392b7;
    -webkit-box-shadow: inset 0 0 3px #4392b7;
    box-shadow:         inset 0 0 3px #4392b7;
    
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}