erstellen von "shiny" - Effekt mit css gradient

Ist es möglich, erstellen Sie einen Verlauf wie das von den glänzenden Effekt auf dem iphone in dem link unten nur mit css?
http://prntscr.com/22oa4f

Ich habe versucht, mit dem folgenden code ist es aber nicht "glänzend"

background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255, 255, 255, .15)), to(rgba(0, 0, 0, .25))), -webkit-gradient(linear, left top, right bottom, color-stop(0, rgba(255, 255, 255, 0)), color-stop(0.5, rgba(255, 255, 255, .1)), color-stop(0.501, rgba(255, 255, 255, 0)), color-stop(1, rgba(255, 255, 255, 0)));
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, .15), rgba(0, 0, 0, .25)), -moz-linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
background-image: linear-gradient(top, rgba(255, 255, 255, .15), rgba(0, 0, 0, .25)), linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));

Habe ich einen container in diesem jsfiddle -> http://jsfiddle.net/3qWYL/

wie "glänzend" wollen Sie ? in deinem jsFiddle, es gibt nur eine schwarze box.
Hier ist ein Beispiel für eine komplette iPhone-erstellt mit CSS3: codepen.io/lazyronin/pen/oEzwJ

InformationsquelleAutor surfs up | 2013-11-08

Schreibe einen Kommentar