3
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
Code distributed by Google as part of the polymer project is also
8
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
11
<link rel="import" href="../polymer/polymer.html">
12
<link rel="import" href="../paper-styles/shadow.html">
13
<link rel="import" href="paper-material-shared-styles.html">
16
Material design: [Cards](https://www.google.com/design/spec/components/cards.html)
18
`paper-material` is a container that renders two shadows on top of each other to
19
create the effect of a lifted piece of paper.
23
<paper-material elevation="1">
31
<dom-module id="paper-material">
33
<style include="paper-material-shared-styles"></style>
36
@apply(--shadow-transition);
49
* The z-depth of this element, from 0-5. Setting to 0 will remove the
50
* shadow, and each increasing number greater than 0 will be "deeper"
53
* @attribute elevation
59
reflectToAttribute: true,
64
* Set this to true to animate the shadow when setting a new
73
reflectToAttribute: true,