Illegal websites should not initiate any form of manual service requests to our staff. It is strictly prohibited to use honmau Media's technical support services and products to engage in any illegal activities. If discovered, no technical support will be provided. ×
Current location:home> news > help and support

Operation and maintenance technical services

Response time:10 minutes

How to handle problems:1-on-1 manual technical services

Working hours:Monday to Saturday 8:30-22:00

Business scope:

Website development Mini programs development Discuz operation and maintenance

Baota Operation and Maintenance Website Operation and Maintenance SSL Certificates

Operation and maintenance technology can solve difficult problems for you

search first

recommend

Baota Linux Professional Edition

It includes 13 professional version plug-ins worth more than 3500 yuan, including Web Application Firewall, website monitoring reports and exception monitoring push.

  • Baota system reinforcement
  • Website tamper-proof program
  • Nginx Firewall
  • Website Monitoring Report
advertising

How to merge multiple CSS during website construction to speed up website opening?

Some website development requires loading a lot of css. While increasing the special effects and aesthetics of the website, most websites will introduce 3-5 css files. Some more complex websites will introduce more than 5 css files. This will cause an increase in the number of HTTP requests on the website, which will affect the opening speed of the website. You can merge multiple css files into one file to reduce the number of http requests and speed up the website opening speed!

There is a special instruction import in css that refers to other css styles. It can be used as follows:

@import url(css file address);

If your website has multiple css files, you can build a new one named hb.css.

for example

如何在网站建设中合并多个CSS 从而加快网站打开速度?

A certain website calls four css files: font-awesome.min.css, awesome.min.css, bootstrap.min.css, swiper.min.css, and style.css. These five files are stored in the css folder. At this time, we can build an import.css file in the css folder with the content:

@charset "utf-8";

@import url(font-awesome.min.css);

@import url(awesome.min.css);

@import url(bootstrap.min.css);

@import url(swiper.min.css);

@import url(style.css);

After building, delete the 5 css links in the webpage and add the following introductions to the header:

<link rel="stylesheet" href="css/hb.css" >

The above steps have completed the operation of quickly merging css, but some websites also use external css files. This method still applies. If your website feels that the opening speed is slow, this operation is a good idea.

Scan mobile WeChat

Continue reading immediately in the Mini programs

© Website copyright and disclaimer

1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;

2. No one is allowed to copy it without the express written permission of [honmau Media];

3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;

4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;

5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice

Recently, do you want to customize and develop a Mini programs/website/hosted operation and maintenance service?
submission
Working days: 8:30 - 22:00  Online QQ customer service

customer service

Company Introduction
top