1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/postcss-normalize-url
詹力 1a19ec897f 删除无关模块 2024-01-16 21:26:16 +08:00
..
dist i4 2023-12-18 13:12:25 +08:00
node_modules 删除无关模块 2024-01-16 21:26:16 +08:00
CHANGELOG.md i4 2023-12-18 13:12:25 +08:00
LICENSE-MIT i4 2023-12-18 13:12:25 +08:00
README.md i4 2023-12-18 13:12:25 +08:00
package.json 删除无关模块 2024-01-16 21:26:16 +08:00

README.md

postcss-normalize-url

Normalize URLs with PostCSS.

Install

With npm do:

npm install postcss-normalize-url --save

Example

Input

h1 {
    background: url("http://site.com:80/image.jpg")
}

Output

h1 {
    background: url(http://site.com/image.jpg)
}

Note that this module will also try to normalize relative URLs, and is capable of stripping unnecessary quotes. For more examples, see the tests.

Usage

See the PostCSS documentation for examples for your environment.

API

normalize([options])

Please see the normalize-url documentation. By default, normalizeProtocol, stripFragment & stripWWW are set to false.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs