Created
December 3, 2019 13:54
-
-
Save ed-codes/1fbd168084b85f57bfb84776f8947688 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Get the overall dominant color of an image to use as pre-lazyload or similar. --> | |
{% assign dominant_color_image = image | img_url: '1x' %} | |
<!-- Stretch it out and you basically have an extremeley blurry version of the image. --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment