Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Mixin for #sizedImgDiv added #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Mixin for #sizedImgDiv added
kristfal committed Jun 10, 2016
commit 557acefe5ef240dee69030f2f6edf7e865886fad
3 changes: 3 additions & 0 deletions iron-image.html
Original file line number Diff line number Diff line change
@@ -60,6 +60,7 @@

Custom property | Description | Default
----------------|-------------|----------
`--iron-image-sized-img` | Mixin applied to #sizedImageDiv | `{}`
`--iron-image-placeholder` | Mixin applied to #placeholder | `{}`
`--iron-image-width` | Sets the width of the wrapped image | `auto`
`--iron-image-height` | Sets the height of the wrapped image | `auto`
@@ -82,6 +83,8 @@
@apply(--layout-fit);

display: none;

@apply(--iron-image-sized-img);
}

#img {