Jump to content

Блок статистики


Cudder
 Share

Recommended Posts

Здравствуйте ув. пользователи. Хотел бы узнать как сделать данный блок белым, а не прозрачным как на скриншоте ниже:

 

 

b3f0653b9788862e49cc78a7345694bf.png

 

 

Заранее благодарю :)

Link to comment
Share on other sites

Спасибо, я так и думал, но что-то забыл попробовать.

Есть еще вопрос:

Сейчас:

3b23e8f839dc41cf0c5c5e7f1d2416c4.png

Нужно:

7883bbe37a8f071a96ae5629c6d82f1c.png

Белый фон не обязательно, главное обводка.

Link to comment
Share on other sites

#board_stats ul {

background: #FFF;

border: 1px solid #DFDFDF;

 

Теперь вот как:

e583d0f42537fcf9fd867a9c19938d0b.png

 

Фон как бы белый не нужен, нужна обводка цифр (закругленная, как на скриншоте "Нужно").

Link to comment
Share on other sites

Все. Спасибо, сделал сам.

 

 

#board_stats ul { text-align: center; }

#board_stats li { margin-right: 20px; }

#board_stats .value {

display: inline-block;

background: #fff;

color: #222;

text-shadow: rgba(255,255,255,0.6) 0px 1px 0px;

padding: 3px 7px;

font-weight: bold;

-moz-border-radius: 3px;

-webkit-border-radius: 3px;

border-radius: 3px;

margin-right: 3px;

-webkit-box-shadow: inset rgba(0,0,0,0.3) 0px 1px 2px, rgba(255,255,255,1) 0px 1px 0px;

-moz-box-shadow: inset rgba(0,0,0,0.3) 0px 1px 2px, rgba(255,255,255,1) 0px 1px 0px;

box-shadow: inset rgba(0,0,0,0.3) 0px 1px 2px, rgba(255,255,255,1) 0px 1px 0px;

}

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...