0.6.3 • Published 4 years ago

@vcl/responsive-image v0.6.3

Weekly downloads
5
License
MIT
Repository
-
Last release
4 years ago

VCL responsive-image

Let images fill up the available horizontal space of its container if it is at least as wide.

Features

The vclResponsiveImage just sets the max-width of the image to 100%.

The optional vclResponsiveImageContainer can be used to:

  • Show a message while loading.
  • Pre-occupy the space for an unloaded image re-flows and content jumping.
  • Show a fall back message.

Usage

Basic Example

basic example

Container Example

container example

Classes

  • vclResponsiveImage
  • vclResponsiveImageContainer

Modifiers

Variables

  • --responsive-image-container-color

Demo

example.html on GH-pages.

1.0.0-alpha.2

4 years ago

0.7.0-alpha.3

4 years ago

0.7.0-alpha.1

5 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0-6

5 years ago

0.6.0-1

5 years ago

0.5.3

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.2

5 years ago

0.4.0

5 years ago

0.4.0-beta.3

5 years ago

0.4.0-beta.1

5 years ago

0.4.0-beta.0

5 years ago

0.4.0-0

5 years ago

0.3.0-0

5 years ago

0.3.0-2

5 years ago

0.3.0

5 years ago

0.2.1

6 years ago

0.2.0

7 years ago