javascript - Is this also a background image?
天蓬老师
天蓬老师 2017-05-18 10:54:34
0
3
944

Open the Tianya homepage, on the right side

http://www.tianya.cn/

Is the "more convenient than QR code login" on the right also a background image?
The dong dong next to it is a picture, which can be seen with firebug.
Download address
http://static.tianyaui.com/gl...
Partial results are displayed using css.

Is the "more convenient than QR code login" on the left also a background image? If yes, please extract the url?

天蓬老师
天蓬老师

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

reply all(3)
漂亮男人

css sprite image

Understanding the principle, if you want to extract a single image, you can only cut the image

習慣沉默

You have already given the url = =
http://static.tianyaui.com/gl...
This is the url of the background image
But here, by setting background-size and background-position, only the dialogue is displayed Frame part
Many websites will put the background image on one image, which can reduce requests

Separating line---
I just checked the website you asked about again and saw the css style value

.loginWin-tab .qrcode-login-tab:after {
    content: "二维码登录更便捷";
    position: absolute;
    top: 0;
    right: 45px;
    width: 127px;
    height: 24px;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    color: #333;
    background: url(resources/images/loginWin_icons_v2.png?_v=20170411) 0 -67px no-repeat;
}

The text has been written in the content~

巴扎黑

Did you mean the words “QR code login is more convenient”?
Everyone was probably confused when you said "more convenient than QR code login". . .
Please be more accurate in your description
These words are: after

of the class .qrcode-login-tab
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template