Skip to content

Add a image loader & image load error (without adding an HTML element or using JS).

License

Notifications You must be signed in to change notification settings

MarketingPipeline/CSS-Image-Loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSS-Image-Loader

Pure CSS Image Loader

Add a image loader & image load error (without adding an HTML element or using JS). Just pure CSS!

Show your support!

Note: this is just a proof of concept. You should still provide a fallback source for your images using an onerror etc. As iOS / Webkit devices do NOT currently support the CSS attribute ::before needed for the fallback error image.

Example

Contributing GitHub

Want to help improve this project? Create a pull request with your detailed changes! If approved you will be added to the list of contributors of this awesome project!

See also the list of contributors who participate in this project.

License License: MIT

This repo is licensed under the MIT License - see the LICENSE.md file for details.