Skip to content

Commit 13b0238

Browse files
authored
Merge pull request #1 from mattzeunert/patch-1
Tweak readme
2 parents 54c8730 + 167f13c commit 13b0238

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
<img src="https://github.com/nucliweb/avif-in-css/blob/main/assets/AV1.svg?raw=true" align="right"
44
alt="AVIF logo" width="180" height="100">
55

6-
[PostCSS] plugin and tiny JS script *(315B gzipped)* to use [AVIF] image format in CSS background.
6+
[PostCSS] plugin and a tiny JS script *(315B gzipped)* to use the [AVIF] image format for CSS background images.
77

8-
With this PostCSS Plugin you can use **AVIF** image format in your CSS background in [Supported Browsers](#supported-browsers), and fallback with the original image.
8+
Use **AVIF** in [Supported Browsers](#supported-browsers) and fall back to the original image in other browsers.
9+
10+
Take a look at the demo site [avif-in-css.netlify.app]
11+
12+
## About AVIF
913

1014
> AVIF offers significant compression gains vs. JPEG and WebP, with a recent Netflix study showing 50% savings vs. standard JPEG and > 60% savings on 4:4:4 content
1115
12-
Take a look to the demo site [avif-in-css.netlify.app]
1316
## How works?
1417

1518
You add `require('avif-in-css')` to your JS bundle and write CSS like:

0 commit comments

Comments
 (0)