E
E
enerjze2016-07-23 15:00:15
css
enerjze, 2016-07-23 15:00:15

How to add an icon to existing social networks?

ad01f22f196d42cb9b64d76e506bf2b3.JPG
It turned out like this, tell me how to add your icon, if they are all enclosed in one file all-icons.png
in css looks like this

.social-icons.facebook {
  background-position: -45px -30px;
}
.social-icons.facebook:hover {
  background-position: -75px -30px;[/code]

how to add vk icon let's say? what would she be
.social-icons.vk

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Serj-One, 2016-07-23
@enerjze

Read about sprites.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question