Adding background image to button using CSS

前端 未结 2 945
不思量自难忘°
不思量自难忘° 2020-12-18 06:43

I am trying to add a background image to a button (or link with the same class) which already has a background color.

Here is the jsfiddle: http://jsfiddle.net/BNvke/

2条回答
  •  一个人的身影
    2020-12-18 07:10

    .button {
        background: url(http://i47.tinypic.com/2ni0ahd.png);
        background-repeat: 3px 5px no-repeat;
    }
    

提交回复
热议问题