JSFiddle - React, Tailwind, and code Playground

by RhinoD

HTML

<div id="menu">
    <div class="menu-elem"><a href="index.php">Главная</a></div>
    <div class="menu-elem"><a href="index.php?view=tovari">Товары</a></div>
    <div class="menu-elem"><a href="index.php?view=oplata-i-dostavka">Оплата и доставка</a></div>
    <div class="menu-elem"><a href="index.php?view=viezd-mastera">Выезд мастера</a></div>
    <div class="menu-elem"><a href="index.php?view=o-nas">О нас</a></div> <div class="menu-elem"><a href="index.php?view=contact">Контакты</a></div>
    <div id="cart"><a href="index.php?view=cart">Товары в корзине (0) - 0.00 р.</a></div>    
</div>

CSS

#menu {
    margin-top: 15px;
    font-family: Arial, Geneva, sans-serif;
    font-size: 13px;
    color: #d3df17 !important;
    font-style: normal;
    height: 90px;
    width: 1050px;
}

#menu .menu-elem {
    float: left;
    display: block;
    height: 50px;
    padding: 0;
    margin: 0 5px;
    color: #e1e0e0;
    background: rgb(245,245,245); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(245,245,245,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(245,245,245,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(245,245,245,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(245,245,245,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(245,245,245,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(245,245,245,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */   
    box-shadow: 0 0 6px 0 #aaa;
    border-radius: 6px;
}
#menu .menu-elem:hover {
    background: rgb(237,237,237); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 53%, rgba(245,245,245,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(237,237,237,1)), color-stop(53%,rgba(246,246,246,1)), color-stop(100%,rgba(245,245,245,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 53%,rgba(245,245,245,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, ...