PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Probem mit CSS Transitions und Chrome
Beitrag
<blockquote data-quote="dn3d_fanboy" data-source="post: 2365527" data-attributes="member: 547472"><p>Hallo Manfred und vielen Dank für die Links,</p><p></p><p>leider steige ich da jetzt nicht ganz durch.</p><p>Ich habe allerdings schon gemerkt, dass die Prefixes fehlten. Nach der Änderung startet unter Chrome zwar die Transition, der Content fällt danach (also bei opacity:1) wieder auf den Ausgangszustand (opycity: 0) zurück.</p><p></p><p>Hier nochmal der Link:</p><p>[CODE]@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }</p><p>@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }</p><p></p><p></p><p></p><p>.fade-in{</p><p>opacity:0;</p><p>/* make things invisible upon start */</p><p>/*animation*/</p><p>-webkit-animation:fadeIn ease-in 1;</p><p> -moz-animation:fadeIn ease-in 1;</p><p> -ms-animation:fadeIn ease-in 1;</p><p> -o-animation:fadeIn ease-in 1;</p><p> animation:fadeIn ease-in 1;</p><p>/* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */</p><p>animation-fill-mode:forwards;</p><p>/* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/</p><p>/*animation-duration*/</p><p>-webkit-animation-duration:2s;</p><p> -moz-animation-duration:2s;</p><p> -ms-animation-duration:2s;</p><p> -o-animation-duration:2s;</p><p> animation-duration:2s;</p><p>/*animation-delay*/</p><p>-webkit-animation-delay:1.5s;</p><p> -moz-animation-delay:1.5s;</p><p> -ms-animation-delay:1.5s;</p><p> -o-animation-delay:1.5s;</p><p> animation-delay:1.5s;</p><p>}</p><p>.fade-in2{</p><p>opacity:0;</p><p>/* make things invisible upon start */</p><p>/*animation*/</p><p>-webkit-animation:fadeIn ease-in 1;</p><p> -moz-animation:fadeIn ease-in 1;</p><p> -ms-animation:fadeIn ease-in 1;</p><p> -o-animation:fadeIn ease-in 1;</p><p> animation:fadeIn ease-in 1;</p><p>/* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */</p><p>animation-fill-mode:forwards;</p><p>/* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/</p><p>/*animation-duration*/</p><p>-webkit-animation-duration:2.5s;</p><p> -moz-animation-duration:2.5s;</p><p> -ms-animation-duration:2.5s;</p><p> -o-animation-duration:2.5s;</p><p> animation-duration:2.5s;</p><p>/*animation-delay*/</p><p>-webkit-animation-delay:3.5s;</p><p> -moz-animation-delay:3.5s;</p><p> -ms-animation-delay:3.5s;</p><p> -o-animation-delay:3.5s;</p><p> animation-delay:3.5s;</p><p>}</p><p>.fade-in3{</p><p>opacity:0;</p><p>/* make things invisible upon start */</p><p>/*animation*/</p><p>-webkit-animation:fadeIn ease-in 1;</p><p> -moz-animation:fadeIn ease-in 1;</p><p> -ms-animation:fadeIn ease-in 1;</p><p> -o-animation:fadeIn ease-in 1;</p><p> animation:fadeIn ease-in 1;</p><p>/* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */</p><p>animation-fill-mode:forwards;</p><p>/* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/</p><p>/*animation-duration*/</p><p>-webkit-animation-duration:3s;</p><p> -moz-animation-duration:3s;</p><p> -ms-animation-duration:3s;</p><p> -o-animation-duration:3s;</p><p> animation-duration:3s;</p><p>/*animation-delay*/</p><p>-webkit-animation-delay:4.5s;</p><p> -moz-animation-delay:4.5s;</p><p> -ms-animation-delay:4.5s;</p><p> -o-animation-delay:4.5s;</p><p> animation-delay:4.5s;</p><p>}[/CODE]</p><p></p><p><a href="http://jb-design-for-web.de/test/css3-js/css-test.html" target="_blank">http://jb-design-for-web.de/test/css3-js/css-test.html</a></p></blockquote><p></p>
[QUOTE="dn3d_fanboy, post: 2365527, member: 547472"] Hallo Manfred und vielen Dank für die Links, leider steige ich da jetzt nicht ganz durch. Ich habe allerdings schon gemerkt, dass die Prefixes fehlten. Nach der Änderung startet unter Chrome zwar die Transition, der Content fällt danach (also bei opacity:1) wieder auf den Ausgangszustand (opycity: 0) zurück. Hier nochmal der Link: [CODE]@keyframes fadeIn { from { opacity:0; } to { opacity:1; } } @-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } .fade-in{ opacity:0; /* make things invisible upon start */ /*animation*/ -webkit-animation:fadeIn ease-in 1; -moz-animation:fadeIn ease-in 1; -ms-animation:fadeIn ease-in 1; -o-animation:fadeIn ease-in 1; animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */ animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/ /*animation-duration*/ -webkit-animation-duration:2s; -moz-animation-duration:2s; -ms-animation-duration:2s; -o-animation-duration:2s; animation-duration:2s; /*animation-delay*/ -webkit-animation-delay:1.5s; -moz-animation-delay:1.5s; -ms-animation-delay:1.5s; -o-animation-delay:1.5s; animation-delay:1.5s; } .fade-in2{ opacity:0; /* make things invisible upon start */ /*animation*/ -webkit-animation:fadeIn ease-in 1; -moz-animation:fadeIn ease-in 1; -ms-animation:fadeIn ease-in 1; -o-animation:fadeIn ease-in 1; animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */ animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/ /*animation-duration*/ -webkit-animation-duration:2.5s; -moz-animation-duration:2.5s; -ms-animation-duration:2.5s; -o-animation-duration:2.5s; animation-duration:2.5s; /*animation-delay*/ -webkit-animation-delay:3.5s; -moz-animation-delay:3.5s; -ms-animation-delay:3.5s; -o-animation-delay:3.5s; animation-delay:3.5s; } .fade-in3{ opacity:0; /* make things invisible upon start */ /*animation*/ -webkit-animation:fadeIn ease-in 1; -moz-animation:fadeIn ease-in 1; -ms-animation:fadeIn ease-in 1; -o-animation:fadeIn ease-in 1; animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */ animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/ /*animation-duration*/ -webkit-animation-duration:3s; -moz-animation-duration:3s; -ms-animation-duration:3s; -o-animation-duration:3s; animation-duration:3s; /*animation-delay*/ -webkit-animation-delay:4.5s; -moz-animation-delay:4.5s; -ms-animation-delay:4.5s; -o-animation-delay:4.5s; animation-delay:4.5s; }[/CODE] [url]http://jb-design-for-web.de/test/css3-js/css-test.html[/url] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 7, ▼ = 3, ◇ = 2 und die Summe von ▲ und ▼ durch ◇ geteilt wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Probem mit CSS Transitions und Chrome
Oben