diff --git a/examples/elastic-header/index.html b/examples/elastic-header/index.html new file mode 100644 index 00000000000..4feb4b8fdea --- /dev/null +++ b/examples/elastic-header/index.html @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/elastic-header/style.css b/examples/elastic-header/style.css new file mode 100644 index 00000000000..6ab44e70ddc --- /dev/null +++ b/examples/elastic-header/style.css @@ -0,0 +1,44 @@ +h1 { + font-weight: 300; + font-size: 1.8em; + margin-top: 0; +} +a { + color: #fff; +} +.draggable-header-view { + background-color: #fff; + box-shadow: 0 4px 16px rgba(0,0,0,.15); + width: 320px; + height: 560px; + overflow: hidden; + margin: 30px auto; + position: relative; + font-family: 'Roboto', Helvetica, Arial, sans-serif; + color: #fff; + font-size: 14px; + font-weight: 300; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.draggable-header-view .bg { + position: absolute; + top: 0; + left: 0; + z-index: 0; +} +.draggable-header-view .header, .draggable-header-view .content { + position: relative; + z-index: 1; + padding: 30px; + box-sizing: border-box; +} +.draggable-header-view .header { + height: 160px; +} +.draggable-header-view .content { + color: #333; + line-height: 1.5em; +}