Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/thisislawatts/coverimage

Background Image without the CSS
https://github.com/thisislawatts/coverimage

background-image

Last synced: about 1 month ago
JSON representation

Background Image without the CSS

Awesome Lists containing this project

README

        

CoverImage
===

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/thisislawatts/coverimage/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/thisislawatts/coverimage/?branch=master)

Takes an element and uses the first image found to replicate the behaviour of `background-size: cover` from CSS.

The advantage of this method is that you get all the semantics/accessibility of an image present within the mark-up.

Usage
---

```html





```

Contributing
---

Please do.