Jump to content

Приму любую критику! Оцените верстку пожалуйста!


migunov88
 Share

Recommended Posts

<nav class="navigation clearfix">

<a class="navigation-link" href="#">Главная</a>

<a class="navigation-link" href="#">Блог</a>

<a class="navigation-link" href="#">Доставка</a>

<a class="navigation-link" href="#">Оплата</a>

<a class="navigation-link" href="#">Контакты</a>

<a class="navigation-link" href="#">Работа у нас</a>

<div class="main-cart-wrap right">

<div class="main-cart">

<p>В <a href="#">корзине</a> 2 товара на 27 700 руб.</p>

</div>

</div>

</nav>

 


.navigation {

background: #214b7e;

background: -webkit-linear-gradient(#335989, #01316c);

background: -moz-linear-gradient(#335989, #01316c);

background: -ms-linear-gradient(#335989, #01316c);

background: -o-linear-gradient(#335989, #01316c);

}

.navigation-link {

display: block;

float: left;

padding: 15px;

color: #fff;

font: 11px Tahoma, Arial, sans-serif;

text-transform: uppercase;

}

.navigation-link:hover {

background: #1c3d66;

background: -webkit-linear-gradient(#28476d, #032957);

background: -moz-linear-gradient(#28476d, #032957);

background: -ms-linear-gradient(#28476d, #032957);

background: -o-linear-gradient(#28476d, #032957);

}

.main-cart-wrap {

padding: 0 10px;

min-height: 43px;

background: #161616;

background: -webkit-linear-gradient(#545454, #010101);

background: -moz-linear-gradient(#545454, #010101);

background: -ms-linear-gradient(#545454, #010101);

background: -o-linear-gradient(#545454, #010101);

}

.main-cart {

padding-left: 40px;

min-height: 43px;

background: url(../img/cart.png) no-repeat left center;

}

.main-cart p {

margin: 0;

font: 11px/43px Tahoma, Arial, sans-serif;

color: #fff;

}

.main-cart a {

font: 12px Tahoma, Arial, sans-serif;

color: #4e7aa9;

}

.main-cart a:hover {

text-decoration: underline;

}

 

 

Вот как-то так сделал...но не знаю, правильно ли...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy