Skip to content

chris-l/img-background

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Component - Image in the background of a website v.1.0.1 α

Place a full size image in the background of the website.

Usage

Polymer:

Just include the demo/elements/polymer-img-background.html and put a tag in your code like See demo for example

1. Include Polymer Project AND the img-background source

<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.2.3/platform.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.2.3/polymer.js"></script>

2. put the element on your website:

<img-background src="path-to-your-image"></img-background>

Todo:

Vanilla JS

tests and builds

License

MIT License

About

Place a full size image in the background of the website using Polymer Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 83.9%
  • CSS 16.1%