W
W
WarsTheS2014-10-25 22:14:15
css
WarsTheS, 2014-10-25 22:14:15

How to properly style a button?

There is a css button: 9a4ba5d006fd4262b4f1a2eafe498846.png
I need to create an area on the left and place the Vkontakte logo there, like this: 620510a8673d4a3aa7a28a83163e7737.pngHow to do this using css?
Here is the button code:

.vk {
  -moz-box-shadow:inset 0px 1px 0px 0px #2f76a6;
  -webkit-box-shadow:inset 0px 1px 0px 0px #2f76a6;
  box-shadow:inset 0px 1px 0px 0px #2f76a6;
  background-color:#2f76a6;
  border:1px solid #2f76a6;
  cursor:pointer;
  color:#ffffff;
  font-family:Arial;
  font-size:18px;
  font-weight:bold;
  padding:6px 24px;
  text-decoration:none;
  text-shadow:0px 1px 0px #2f76a6;
  display: block;
    width: 244px; 
    height: 20px; 
    text-align: center;
    
    
  
}
.vk:hover {
  background-color:#007dc1;
}
.vk:active {
  position:relative;
  top:1px;
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question