Preface Fix the footer area at the bottom. No matter how tall or wide the page is, it will always stay at the bottom, just like the mobile menu. <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>document</title> <!-- css --> <style> #demo{ position: fixed; left: 0px; bottom: 0px; width: 100%; height: 50px; background-color: #eee; z-index: 9999; } </style> </head> <body> <footer id="demo">I am footer</footer> </body> </html> Summarize The above is the CSS3 that I introduced to you. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! |
<<: Detailed explanation of this pointing in JS arrow function
>>: Building a Redis cluster on Docker
Preface There are many open source monitoring too...
1. Install MySQL This article is installed via AP...
This article example shares the specific code of ...
If you want the application service in the Docker...
Table of contents 1. Preparation 2. Introduction ...
1. Download the MySQL jdbc driver (mysql-connecto...
When building a database and writing a program, i...
If we want to make a carousel, we must first unde...
What I bring to you today is to use jQuery to imp...
This article example shares the specific code of ...
1.1 General marking A general tag consists of an ...
Click here to return to the 123WORDPRESS.COM HTML ...
Table of contents Overview Code Implementation Si...
Table of contents 1. Troubleshooting and locating...
Today, I will answer these newbie questions: Build...