0.1.0 • Published 5 years ago
@codin/cwc-image v0.1.0
Picture element
this element is not polyfilled for IE, so sources will not change.
example
<cwc-picture cover>
<source media="(min-width: 400px)" srcset="./high-res.jpg">
<source srcset="./low-res.jpg">
</cwc-picture>