css3精灵图的增大响应区

<style>

 a {

  width:50px;

  height:50Px;

  display:block;

  background:url(sprites.png) no-repeat 0px 0px;

  padding:10px;

  box-sizing:border-box;

  background-origin:content-box;   

  background-clip:content-box;

}

</style>

posted @ 2016-09-11 22:24  Chanphy  阅读(270)  评论(0)    收藏  举报