Home  >  Article  >  How to compress js css

How to compress js css

藏色散人
藏色散人Original
2021-01-27 09:08:562326browse

How to compress js css: first open the "Webmaster Tools" link; then click [JS Obfuscated Encryption Compression], and enter the js code on the left and click [Normal Compression]; then click [css format] , and enter the css code on the left; finally click [Compress Code] on the right.

How to compress js css

The operating environment of this article: Windows7 system, HTML5&&CSS3 version, DELL G3 computer.

Recommended: css video tutorial

How to compress js css?

We can use some online tools to compress js and css code. Here we introduce how to use "Webmaster Tools" to compress js and css.

Link: http://tool.chinaz.com/Tools/CssFormat.aspx

1. Compress js

Click [JS Obfuscated Encryption Compression] on the left Enter your js code, click [Normal Compression], and then the compressed js code will appear in the right input box.

How to compress js css

2. Compress css

Click [css format], enter your css code on the left, click [Compression Code] on the right, and then The compressed css code will appear in the right input box.

How to compress js css

The above is the detailed content of How to compress js css. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn