css - 我想要提取的图片在雪碧图里
天蓬老师
天蓬老师 2017-04-17 14:31:42
0
4
1140

我想要提取淘宝购物车页面中的这个图片链接
但是他在http://img.alicdn.com/tps/i3/...这个雪碧图中
有什么不用sprity把这个小图标提取出来的方法吗?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(4)
小葫芦

Snapshot directly, simple and fast

Peter_Zhu

What you want to withdraw is actually the level of this member, right?
This picture was intercepted through css, so the css of different levels should be different. You can know the level of this member by judging the css

大家讲道理

If you reference the icon in this picture multiple times (multiple times), there is no need to extract it. You can directly reference the resource and pass it through

p{
  background-Image: url(img.url)
  background-position:xpx ypx
}

Just change the position.

洪涛

Set a block that is the same size as the image you want to extract, and then use background-Image: url(img.url) xpx xpx to position the image

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template