Skip to content

Commit

Permalink
Update rule.md
Browse files Browse the repository at this point in the history
  • Loading branch information
suzanne-gibson authored Feb 17, 2025
1 parent fc1b513 commit 18a9f97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/image-formats/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ If you decide to use GIFs on your website, here are some optimization tips to en

* **Reduce the number of frames** - Fewer frames can lead to a smaller file size without drastically affecting the animation quality
* **Optimize colors** - Use tools to reduce the color palette of your GIF to the minimum needed for acceptable quality
* **Labeling GIF's when necessary** - When adding a GIF, remember to specify that it is a GIF to differentiate it from a static image

::: info
**Note:** For more complex animations, consider using CSS animations or other formats like WebM (see above) or MP4, which offer better compression and quality.
Expand Down

0 comments on commit 18a9f97

Please sign in to comment.