Skip to content

weepower/wee-image-placeholders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wee

Wee module to create placeholders for testing and wireframing.

Usage

Default placeholder with 16:9 fluid ratio.

<img data-placeholder>

Override the ratio by setting the value of the data-placeholder attribute.

<img data-placeholder="2:1">

To disable fluid width set the data-fluid attribute to false.

<img data-placeholder data-fluid="false">

By default the current dimensions of the placeholder are output on the image. Specify the text by setting the data-text attribute.

<img data-placeholder data-text="Primary Image">

You can customize the default styling of the placeholders by overriding the default modules variables.

Get Started

Install the module using one of these methods:

Then place the "wee-image-placeholders" folder in your source/modules directory.

Bugs

Have a bug or a feature request? Open a new issue.
To view the working to-do list check out our public Trello board.

Versioning

Wee adheres to Semantic Versioning in the form of MAJOR.MINOR.PATCH.
Regardless of version we recommend thoroughly reviewing the release notes before updating.

Community

Keep track of development and news by following @weecss on Twitter.

License

Copyright 2016 Caddis Interactive, LLC. Licensed under the Apache License, Version 2.0.

About

Wee module to create placeholders for testing and wireframing

Resources

License

Stars

Watchers

Forks

Packages

No packages published