JSFiddle - React, Tailwind, and code Playground
HTML
<div class="header">
<div class="header-stripe">
<div class="stripe-cart">
<div class="cart_image">
<img alt="Автозапчасти для иномарок в Ростове-на-Дону" src="/assets/shopping_cart.png">
</div>
<span>
<a href="/carts/605">Моя корзина</a>
</span>
<span id="total_count">
<a href="/carts/605">2 товар(ов)</a>
</span>
<div class="cartid" id="605"></div>
</div>
<div class="info">
<ul>
<li>
<a href="/">Главная</a>
</li>
<li>
<a href="/about">О нас</a>
</li>
<li>
<a href="/feedbacks/new">Задать вопрос</a>
</li>
<!-- %li -->
<!-- = link_to "Корзина", @cart -->
</ul>
</div>
</div>
<div class="header-center">
<div class="header-images">
<div class="logo-header"></div>
</div>
<div class="engine-header"></div>
<div class="header-navigation">
<div class="link-area">
<a href="/" id="parts">Автозапчасти</a>
<a href="/catalogs/oil_mp" id="oils">Масла/автожидкости</a>
<div class="oil-dd" style="display: none;"></div>
<a href="/catalogs/accums_mp" id="accums">Аккумуляторы</a>
<a href="/catalogs/wheel_fixture_mp" id="wheel_fixtures">Крепёж</a>
<div class="wheel_fixture-dd">
</div>
<a href="/catalogs/wheel_fixture_mp" id="parts_for_service">Запчасти для ТО</a>
</div>
</div>
</div>
<div class="header-bottom-stripe"></div>
</div>
CSS
@charset "UTF-8";/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= //require twitter/bootstrap
*/
/* line 1, ../../app/assets/stylesheets/admin.scss */
.small-font {
font-size: 12px;
}
/* line 1, ../../app/assets/stylesheets/browser-noncompatible.scss */
.ie-message {
display: none;
position: absolute;
z-index: 10010;
width: 900px;
height: 320px;
background-color: #ffffff;
border: 1px solid #b94a48;
top: 15%;
left: 50%;
margin-left: -450px;
}
/* line 12, ../../app/assets/stylesheets/browser-noncompatible.scss */
.ie-message .nsframe {
z-index: -1;
position: absolute;
width: 901px;
height: 320px;
border: none;
_filter: mask();
}
/* line 20, ../../app/assets/stylesheets/browser-noncompatible.scss */
.ie-message .alert {
border: 0;
padding: 0;
margin: 0;
width: 100%;
color: #b94a48;
background-color: #f2dede;
padding: 0px;
padding-bottom: 10px;
margin-bottom: 30px;
}
/* line 31, ../../app/assets/stylesheets/browser-noncompatible.scss */
.ie-message .browsers-list {
width: 650px;
margin: 0 auto;
height: 140px;
}
/* line 36, ../../app/assets/stylesheets/browser-noncompatible.scss */
.ie-message a {
font: 16px bold arial,sans-serif;
text-align: center;
color: #4e4e4e;
}
/* line 40, ../../app/assets/stylesheets/browser-noncompatible.scss */
.ie-message a:hover {
color: #959595;
}
/* line 44, ../../app/assets/stylesheets/browser-noncompatible.scss */
.ie-message h2 {
font: 28px arial,sans-serif;
font-weight: bold;
}
/* line 48,...