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. Download 4 rpm packages mysql-community-client...
This article mainly introduces the binary type op...
Nginx logs can be used to analyze user address lo...
Preface In order to follow the conventional WEB l...
Table of contents Vue3 encapsulation message prom...
Preface 1. Debounce: After a high-frequency event...
Table of contents MySQL delete syntax alias probl...
As the demand for front-end pages continues to in...
1. An error (1064) is reported when using mysqldu...
1 Introduction Kong is not a simple product. The ...
Install grafana. The official website provides an...
If MySQL version 5.0 already exists on the machin...
Understanding of polling In fact, the focus of po...
Recently, two accounts on the server were hacked ...
I am currently learning about Redis and container...