Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seanwuapps/bl-img

Blur-load image web component
https://github.com/seanwuapps/bl-img

Last synced: about 2 months ago
JSON representation

Blur-load image web component

Awesome Lists containing this project

README

        

#bl-img

Progressviely load an image with blur effect.

`` is a web component that loads a thumbnail image first with blur effect, then loads the HD image in the background, after HD image is loaded it appears with removal of the blur effect.

## Usage

install this web component from npm
```bash
npm install bl-img --save
```
then insert script tag
```html

```

or use unpkg CDN

```html

```

after this you should be able to use it like any other html tags

```html

.image {
width: 400px;
max-height: 400px;
}


```