Recently, I need to use a lot of fragmented pictures such as labels and buttons in the project. In addition, I have never had the opportunity to use the "elf technology" in CSS. Here I write my understanding of background-position into a document for more people to use and learn. The combination of all existing button images Step 1 : We want to display Step 2 : This is the focus of my talk today. Many people say that background-position is the background image of the operation, but I say it is the window of the operation. Through the window we can only see a part of the background image . The understanding of the horizontal and vertical coordinates is that as long as the window moves within the area of the image, we say it is in the negative direction (negative coordinates). show show show The same applies to the following. Many of you may understand what I am saying here. I am just telling you a way of understanding for those who are just getting started. If there is anything wrong, please criticize me. (I don’t know how to typeset, hope you understand) |
<<: This article will show you the principle of MySQL master-slave synchronization
>>: CSS specification BEM CSS and OOCSS sample code detailed explanation
1. Modify the firewall configuration file # vi /e...
Pull the image: [mall@VM_0_7_centos ~]$ sudo dock...
Table of contents Preface Add sudo write permissi...
A mature database architecture is not designed wi...
This article records the installation and configu...
Table of contents 1. Advantages of proxy vs. Obje...
1. Download 1. Click the latest download from the...
/********************** * Linux memory management...
Background: Make a little progress every day, acc...
Problem Description In the recent background serv...
Table of contents 1. Database Engine 1.1 View dat...
This article uses examples to describe the common...
The marquee element can achieve simple font (image...
1. Basic use <!DOCTYPE html> <html lang=...
Negative distance refers to empathy. Preface (rai...