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: 2365448" data-attributes="member: 547472"><p>Hallo,</p><p>ich möchte eine Seite mit CSS-Transitions laden, d.h. der Inhalt wird per CSS eingeblendet.</p><p></p><p>Unter Firefox und IE läuft das auch ohne Probleme, nur Chrome und Opera (ich denke auch Safari) laden den Inhalt einfach nicht.</p><p>Schalte ich die Klasse für die Transitions aus funktioniert es.</p><p></p><p>Hier mal der Link zur Seite:</p><p></p><p>1.) mit Transition-Klassen:</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><p></p><p>2. ohne Transition:</p><p><a href="http://jb-design-for-web.de/test/css3-js/css-test-2.html" target="_blank">http://jb-design-for-web.de/test/css3-js/css-test-2.html</a></p><p></p><p>Und hier die CSS-Angaben:</p><p>[CODE]@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }</p><p></p><p>.fade-in {</p><p> opacity:0; /* make things invisible upon start */</p><p> animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */</p><p> animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/</p><p> animation-duration:2s;</p><p> animation-delay: 1.5s</p><p>}</p><p></p><p>.fade-in2 {</p><p> opacity:0; /* make things invisible upon start */</p><p> animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */</p><p> animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/</p><p> animation-duration:2.5s;</p><p> animation-delay: 3.5s</p><p>}</p><p></p><p>.fade-in3 {</p><p> opacity:0; /* make things invisible upon start */</p><p> animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */</p><p> animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/</p><p> animation-duration:3s;</p><p> animation-delay: 4.5s</p><p>}</p><p>[/CODE]</p><p></p><p>Hat irgendwer eine Ahnung warum das so geschieht und hat villeicht einen Lösungsansatz für mich?</p><p></p><p>Besten Dank im Voraus</p></blockquote><p></p>
[QUOTE="dn3d_fanboy, post: 2365448, member: 547472"] Hallo, ich möchte eine Seite mit CSS-Transitions laden, d.h. der Inhalt wird per CSS eingeblendet. Unter Firefox und IE läuft das auch ohne Probleme, nur Chrome und Opera (ich denke auch Safari) laden den Inhalt einfach nicht. Schalte ich die Klasse für die Transitions aus funktioniert es. Hier mal der Link zur Seite: 1.) mit Transition-Klassen: [url]http://jb-design-for-web.de/test/css3-js/css-test.html[/url] 2. ohne Transition: [url]http://jb-design-for-web.de/test/css3-js/css-test-2.html[/url] Und hier die CSS-Angaben: [CODE]@keyframes fadeIn { from { opacity:0; } to { opacity:1; } } .fade-in { opacity:0; /* make things invisible upon start */ 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:2s; animation-delay: 1.5s } .fade-in2 { opacity:0; /* make things invisible upon start */ 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:2.5s; animation-delay: 3.5s } .fade-in3 { opacity:0; /* make things invisible upon start */ 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:3s; animation-delay: 4.5s } [/CODE] Hat irgendwer eine Ahnung warum das so geschieht und hat villeicht einen Lösungsansatz für mich? Besten Dank im Voraus [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 5, ▼ = 2 und ■ = 7, was ist ▲ × ▼ + ■?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Probem mit CSS Transitions und Chrome
Oben