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...
Animation mit CSS3
Beitrag
<blockquote data-quote="Spatzihasi" data-source="post: 2638674" data-attributes="member: 376406"><p>[CODE]@charset "utf-8";</p><p>/* CSS Document */</p><p></p><p>/*SCHRIFTARTEN */</p><p></p><p>@font-face {</p><p>font-family:"Empathy";</p><p>src: local("Empathy"),</p><p>url('../fonts/Empathy.otf')</p><p>format("opentype");</p><p>}</p><p></p><p>/*Allgemeine Angaben alle Seiten */</p><p></p><p>body{</p><p>background-position:center;</p><p>background-attachment:fixed;</p><p>background-repeat:no-repeat;</p><p>margin: 0;</p><p>padding: 0;</p><p>text-decoration: none;</p><p>list-style: none;</p><p>font-size:100%;</p><p>width: auto; /* Responsive hack */</p><p>-moz-box-sizing:border-box;</p><p>-webkit-box-sizing:border-box;</p><p>box-sizing: border-box;</p><p>}</p><p></p><p>/* HEADERBEREICH */</p><p></p><p>header {</p><p>text-align:center;</p><p>}</p><p></p><p>header img{</p><p>max-width: 100%;</p><p>height:auto;</p><p>}</p><p></p><p>/* TOP NAVIGATIONSBEREICH */</p><p></p><p>nav {</p><p> border-bottom:1px solid #5b5e61;</p><p> border-top:1px solid #5b5e61;</p><p>font-family: "Empathy", Verdana, Geneva, sans-serif;</p><p>text-align:center;</p><p>min-width:25.875em;</p><p>font-size:1em;</p><p>list-style: none;</p><p>}</p><p></p><p>ul.nav li {</p><p>margin-left:1.563em;</p><p>display:inline;</p><p>list-style: none;</p><p>}</p><p></p><p>ul.nav a {</p><p>color:#5b5e61;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p> </p><p>ul.nav a:hover {</p><p>color:#aca9cd;</p><p>text-decoration:underline;</p><p>list-style: none;</p><p>}</p><p></p><p></p><p>/* BOTTOM Emailadresse NAVIGATIONSBEREICH */</p><p></p><p>a:link {</p><p>color:#5b5e61;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p> </p><p>a:hover {</p><p>color:#7d86bd;</p><p>list-style: none;</p><p>}</p><p></p><p>/* LINKS WEBDESIGNBEREICH */</p><p></p><p>a {</p><p>color:#7d86bd;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p> </p><p>a:hover {</p><p>color:#89b6ee;</p><p>list-style: none;</p><p>}</p><p></p><p>/* BOTTOM weitere Links NAVIGATIONSBEREICH */</p><p></p><p>ul.footernav li a {</p><p>color:#5b5e61;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p> </p><p>ul.footernav li a:hover {</p><p>color:#7d86bd;</p><p>list-style: none;</p><p>}</p><p> </p><p>/* Seitennavigiation Bereich Grafikdesign */</p><p></p><p>.seitennav {</p><p> width:140px;</p><p> font-size:95%;</p><p> text-align:left;</p><p>border-left:1px dashed #3d468c;</p><p> border-top:1px dashed #3d468c;</p><p> border-bottom:1px dashed #3d468c;</p><p>line-height:3;</p><p>float:left;</p><p>margin-left:5em;</p><p>margin-right:5em;</p><p>margin-top:5em;</p><p>text-decoration:none;</p><p>font-family: "Empathy", Verdana, Geneva, sans-serif;</p><p>}</p><p> </p><p> </p><p>.seitennav a {</p><p> margin-left:1em;</p><p>color:#5b5e61;</p><p>}</p><p> </p><p>.seitennav a:hover{</p><p> margin-left:1em;</p><p> font-weight:bold;</p><p>font-size:105%;</p><p>color:#da9c94;</p><p>text-decoration:underline;</p><p>}</p><p></p><p>/* HAUPTCONTAINER alle Seiten */</p><p></p><p>#container {</p><p>text-align:center;</p><p>}</p><p></p><p></p><p>/* Überschriften */</p><p></p><p>h1 {</p><p> margin-top:1em;</p><p>font-family: "Empathy", Verdana, Geneva, sans-serif;</p><p>font-size:200%;</p><p>}</p><p></p><p>h1.uberschrift_home {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#8f97c6;</p><p>}</p><p></p><p>h1.uberschrift_uebermich {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#d6c0c2;</p><p>}</p><p></p><p>h1.uberschrift_webdesign {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#b8a1c9;</p><p>}</p><p></p><p>h1.uberschrift_grafikdesign,</p><p>h1.uberschrift_logos,</p><p>h1.uberschrift_webgrafiken,</p><p>h1.uberschrift_visitenkarten,</p><p>h1.uberschrift_flyer,</p><p>h1.uberschrift_grusskarten {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#a1bbc8;</p><p>}</p><p></p><p>h1.uberschrift_fotodesign {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#dec4d0;</p><p>}</p><p></p><p>h1.uberschrift_leistungen {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#d4c59f;</p><p>}</p><p></p><p>h1.uberschrift_kontakt {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#c795bd;</p><p>}</p><p></p><p>h1.uberschrift_impressum {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#f4a296;</p><p>}</p><p></p><p>h1.uberschrift_datenschutz {</p><p>margin-top:1em;</p><p>font-size:200%;</p><p>color:#8cafbb;</p><p>}</p><p></p><p>/* HAUPTBEREICH Inhalt Home */</p><p></p><p>main {</p><p>float:left;</p><p>font-family: "Empathy", Verdana, Geneva, sans-serif;</p><p>text-align:left;</p><p>font-size:0.886em;</p><p>margin-left:2em;</p><p>padding-bottom:3em;</p><p>}</p><p></p><p>.home, .uebermich, .webdesign, .datenschutz,</p><p>.kontakt, .impressum {</p><p>float:left;</p><p>color:#5b5e61;</p><p>font-family: "Empathy", Verdana, Geneva, sans-serif;</p><p>text-align:left;</p><p>font-size:0.886em;</p><p>margin-left:24em;</p><p>}</p><p></p><p>/* HAUPTBEREICH Inhalt Grafikdesign */</p><p></p><p>.grafikdesignm, .fotodesign, .leistungen {</p><p>float:left;</p><p>color:#5b5e61;</p><p>font-family: "Empathy", Verdana, Geneva, sans-serif;</p><p>text-align:left;</p><p>font-size:0.886em;</p><p>margin-left:3.355em;</p><p>}</p><p></p><p></p><p>/* FACEBOOK BUTTON */</p><p></p><p>.facebookbutton {</p><p>width: 28px;</p><p>height: 28px;</p><p>display:inline-block;</p><p>background:url(../bilder/fb_button/fb_btn2.png) no-repeat;</p><p>}</p><p></p><p>.facebookbutton:hover {</p><p>background-position: 0px -28px;</p><p>}</p><p></p><p>/* FACEBOOK Link Kontakt */</p><p></p><p>p.facebook a {</p><p>color:#5b5e61;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p> </p><p>p.facebook a:hover {</p><p>color:#aca9cd;</p><p>list-style: none;</p><p>}</p><p></p><p>/* FOOTER */</p><p></p><p>footer {</p><p>background-image:url(../bilder/footer_hg/footer_bg.jpg);</p><p>background-repeat:repeat;</p><p>color:#5b5e61;</p><p>border-radius:0.938em;</p><p>border-top:1px solid #5b5e61;</p><p>font-family: "Empathy", Verdana, Geneva, sans-serif;</p><p>padding:0.39em;</p><p>font-size:1em;</p><p>width:auto;</p><p>height:100%;</p><p>text-align:center;</p><p>clear:both;</p><p>}</p><p></p><p>footer ul {</p><p>vertical-align: top;</p><p>margin-top:1em;</p><p>margin-bottom:1em;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p></p><p>.adresse {</p><p>margin-right:5em;</p><p>display:inline-block;</p><p>font-size:0.75em;</p><p>text-align:left;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p></p><p>.sprechzeiten {</p><p>margin-right:5em;</p><p>display:inline-block;</p><p>font-size:0.75em;</p><p>text-align:left;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p></p><p>.socialmedia {</p><p>margin-right:5em;</p><p>display:inline-block;</p><p>font-size:0.75em;</p><p>text-align:center;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p> </p><p>.footernav{</p><p>margin-right:3em;</p><p>display:inline-block;</p><p>font-size:0.75em;</p><p>text-align:left;</p><p>text-decoration:none;</p><p>list-style: none;</p><p>}</p><p> </p><p>.copy {</p><p>display:block;</p><p>font-size:0.75em;</p><p>padding-bottom:1.3em;</p><p>border-bottom:1px #5b5e61 solid;</p><p>}</p><p> </p><p>/* WEBDESIGN SEITE BILDER */</p><p></p><p>.image {</p><p>-webkit-box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1);</p><p>-moz-box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1);</p><p>-o-box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1);</p><p>-ms-box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1);</p><p>box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1);</p><p>margin:0.938em;</p><p>}</p><p></p><p>.image:hover {</p><p>-webkit-transform: scale(3,3);</p><p>-moz-transform: scale(3,3);</p><p>-ms-transform: scale(3,3);</p><p>-o-transform: scale(3,3);</p><p>transform: scale(3,3);</p><p></p><p>}</p><p></p><p></p><p></p><p>/* TEXTFORMATIERUNGEN */</p><p></p><p>.text {</p><p>white-space:pre;</p><p>}</p><p></p><p>.text2 {</p><p>white-space:pre;</p><p>margin-bottom:5em;</p><p>}</p><p></p><p>.text3 {</p><p>white-space:pre;</p><p>margin-bottom:7em;</p><p>}</p><p></p><p></p><p>.container_form_karten {</p><p></p><p>margin-left:-3em;</p><p>}</p><p></p><p>.container_form {</p><p>padding-bottom:5em;</p><p>margin-left:-3em;</p><p>}</p><p></p><p>.container_form2 {</p><p>padding-bottom:6em;</p><p>margin-left:-3em;</p><p>margin-top:2em;</p><p>}</p><p></p><p></p><p>.pic_form {</p><p>float:left;</p><p>margin-left:2em;</p><p>margin-top:-2em;</p><p></p><p>}</p><p></p><p>.pic_form2 {</p><p>float:left;</p><p>margin-left:2em;</p><p>}</p><p></p><p>.pic_form3 {</p><p>float:left;</p><p>margin-left:2em;</p><p>margin-top:-0.5em;</p><p>white-space:pre;</p><p>}</p><p></p><p>.logo_container_form {</p><p>width:450px;</p><p>border-bottom:1px solid black;</p><p>padding-bottom:7em;</p><p>margin-left:-3em;</p><p>margin-top:-3em;</p><p>}</p><p></p><p></p><p>.logo_container_form2{</p><p>width:450px;</p><p>border-bottom:1px solid black;</p><p>padding-bottom:3.5em;</p><p>margin-left:-3em</p><p>}</p><p></p><p>.logo_container_form3 {</p><p>width:450px;</p><p>border-bottom:1px solid black;</p><p>padding-bottom:8.5em;</p><p>margin-left:-3em;</p><p>}</p><p>.logo_container_form4 {</p><p>border-bottom:1px solid black;</p><p>padding-bottom:7em;</p><p>margin-left:-3em;</p><p>margin-top:2em;</p><p>}</p><p></p><p></p><p>.vcard_container_form{</p><p>width:450px;</p><p>border-bottom:1px solid black;</p><p>padding-bottom:8em;</p><p>margin-left:-3em;</p><p>margin-top:-1em;</p><p>}</p><p></p><p>.vcard_pic_form {</p><p>float:left;</p><p>margin-left:2.2em;</p><p>}</p><p>.vcard_pic_text {</p><p> </p><p>margin-left:12em;</p><p>margin-top:1em;</p><p>}</p><p></p><p>.webgrafik_container_form{</p><p>width:450px;</p><p>border-bottom:1px solid black;</p><p>padding-bottom:2em;</p><p>margin-left:-3em;</p><p>margin-top:-3em;</p><p></p><p>}</p><p></p><p>.webgrafik_container_form2{</p><p>width:450px;</p><p>border-bottom:1px solid black;</p><p>padding-bottom:3.5em;</p><p>margin-left:-3em</p><p>}</p><p></p><p>.webgrafik_container_form3 {</p><p>width:450px;</p><p>border-bottom:1px solid black;</p><p>padding-bottom:8.5em;</p><p>margin-left:-3em;</p><p>}</p><p></p><p>.webgrafik_pic_text {</p><p>float:left;</p><p>margin-left:2em;</p><p>}</p><p></p><p>[/CODE]</p><p>Der Beitrag läuft ja immer noch.</p><p></p><p>MIttlerweile gibt es keine Fehler mehr im Validator</p><p></p><p>Aber ich habe die damals aktuelle Version von beiden Browsern genommen.</p></blockquote><p></p>
[QUOTE="Spatzihasi, post: 2638674, member: 376406"] [CODE]@charset "utf-8"; /* CSS Document */ /*SCHRIFTARTEN */ @font-face { font-family:"Empathy"; src: local("Empathy"), url('../fonts/Empathy.otf') format("opentype"); } /*Allgemeine Angaben alle Seiten */ body{ background-position:center; background-attachment:fixed; background-repeat:no-repeat; margin: 0; padding: 0; text-decoration: none; list-style: none; font-size:100%; width: auto; /* Responsive hack */ -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing: border-box; } /* HEADERBEREICH */ header { text-align:center; } header img{ max-width: 100%; height:auto; } /* TOP NAVIGATIONSBEREICH */ nav { border-bottom:1px solid #5b5e61; border-top:1px solid #5b5e61; font-family: "Empathy", Verdana, Geneva, sans-serif; text-align:center; min-width:25.875em; font-size:1em; list-style: none; } ul.nav li { margin-left:1.563em; display:inline; list-style: none; } ul.nav a { color:#5b5e61; text-decoration:none; list-style: none; } ul.nav a:hover { color:#aca9cd; text-decoration:underline; list-style: none; } /* BOTTOM Emailadresse NAVIGATIONSBEREICH */ a:link { color:#5b5e61; text-decoration:none; list-style: none; } a:hover { color:#7d86bd; list-style: none; } /* LINKS WEBDESIGNBEREICH */ a { color:#7d86bd; text-decoration:none; list-style: none; } a:hover { color:#89b6ee; list-style: none; } /* BOTTOM weitere Links NAVIGATIONSBEREICH */ ul.footernav li a { color:#5b5e61; text-decoration:none; list-style: none; } ul.footernav li a:hover { color:#7d86bd; list-style: none; } /* Seitennavigiation Bereich Grafikdesign */ .seitennav { width:140px; font-size:95%; text-align:left; border-left:1px dashed #3d468c; border-top:1px dashed #3d468c; border-bottom:1px dashed #3d468c; line-height:3; float:left; margin-left:5em; margin-right:5em; margin-top:5em; text-decoration:none; font-family: "Empathy", Verdana, Geneva, sans-serif; } .seitennav a { margin-left:1em; color:#5b5e61; } .seitennav a:hover{ margin-left:1em; font-weight:bold; font-size:105%; color:#da9c94; text-decoration:underline; } /* HAUPTCONTAINER alle Seiten */ #container { text-align:center; } /* Überschriften */ h1 { margin-top:1em; font-family: "Empathy", Verdana, Geneva, sans-serif; font-size:200%; } h1.uberschrift_home { margin-top:1em; font-size:200%; color:#8f97c6; } h1.uberschrift_uebermich { margin-top:1em; font-size:200%; color:#d6c0c2; } h1.uberschrift_webdesign { margin-top:1em; font-size:200%; color:#b8a1c9; } h1.uberschrift_grafikdesign, h1.uberschrift_logos, h1.uberschrift_webgrafiken, h1.uberschrift_visitenkarten, h1.uberschrift_flyer, h1.uberschrift_grusskarten { margin-top:1em; font-size:200%; color:#a1bbc8; } h1.uberschrift_fotodesign { margin-top:1em; font-size:200%; color:#dec4d0; } h1.uberschrift_leistungen { margin-top:1em; font-size:200%; color:#d4c59f; } h1.uberschrift_kontakt { margin-top:1em; font-size:200%; color:#c795bd; } h1.uberschrift_impressum { margin-top:1em; font-size:200%; color:#f4a296; } h1.uberschrift_datenschutz { margin-top:1em; font-size:200%; color:#8cafbb; } /* HAUPTBEREICH Inhalt Home */ main { float:left; font-family: "Empathy", Verdana, Geneva, sans-serif; text-align:left; font-size:0.886em; margin-left:2em; padding-bottom:3em; } .home, .uebermich, .webdesign, .datenschutz, .kontakt, .impressum { float:left; color:#5b5e61; font-family: "Empathy", Verdana, Geneva, sans-serif; text-align:left; font-size:0.886em; margin-left:24em; } /* HAUPTBEREICH Inhalt Grafikdesign */ .grafikdesignm, .fotodesign, .leistungen { float:left; color:#5b5e61; font-family: "Empathy", Verdana, Geneva, sans-serif; text-align:left; font-size:0.886em; margin-left:3.355em; } /* FACEBOOK BUTTON */ .facebookbutton { width: 28px; height: 28px; display:inline-block; background:url(../bilder/fb_button/fb_btn2.png) no-repeat; } .facebookbutton:hover { background-position: 0px -28px; } /* FACEBOOK Link Kontakt */ p.facebook a { color:#5b5e61; text-decoration:none; list-style: none; } p.facebook a:hover { color:#aca9cd; list-style: none; } /* FOOTER */ footer { background-image:url(../bilder/footer_hg/footer_bg.jpg); background-repeat:repeat; color:#5b5e61; border-radius:0.938em; border-top:1px solid #5b5e61; font-family: "Empathy", Verdana, Geneva, sans-serif; padding:0.39em; font-size:1em; width:auto; height:100%; text-align:center; clear:both; } footer ul { vertical-align: top; margin-top:1em; margin-bottom:1em; text-decoration:none; list-style: none; } .adresse { margin-right:5em; display:inline-block; font-size:0.75em; text-align:left; text-decoration:none; list-style: none; } .sprechzeiten { margin-right:5em; display:inline-block; font-size:0.75em; text-align:left; text-decoration:none; list-style: none; } .socialmedia { margin-right:5em; display:inline-block; font-size:0.75em; text-align:center; text-decoration:none; list-style: none; } .footernav{ margin-right:3em; display:inline-block; font-size:0.75em; text-align:left; text-decoration:none; list-style: none; } .copy { display:block; font-size:0.75em; padding-bottom:1.3em; border-bottom:1px #5b5e61 solid; } /* WEBDESIGN SEITE BILDER */ .image { -webkit-box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1); -moz-box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1); -o-box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1); -ms-box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1); box-shadow: 0em 0em 1.250em -0.250em rgba(0,0,0,1); margin:0.938em; } .image:hover { -webkit-transform: scale(3,3); -moz-transform: scale(3,3); -ms-transform: scale(3,3); -o-transform: scale(3,3); transform: scale(3,3); } /* TEXTFORMATIERUNGEN */ .text { white-space:pre; } .text2 { white-space:pre; margin-bottom:5em; } .text3 { white-space:pre; margin-bottom:7em; } .container_form_karten { margin-left:-3em; } .container_form { padding-bottom:5em; margin-left:-3em; } .container_form2 { padding-bottom:6em; margin-left:-3em; margin-top:2em; } .pic_form { float:left; margin-left:2em; margin-top:-2em; } .pic_form2 { float:left; margin-left:2em; } .pic_form3 { float:left; margin-left:2em; margin-top:-0.5em; white-space:pre; } .logo_container_form { width:450px; border-bottom:1px solid black; padding-bottom:7em; margin-left:-3em; margin-top:-3em; } .logo_container_form2{ width:450px; border-bottom:1px solid black; padding-bottom:3.5em; margin-left:-3em } .logo_container_form3 { width:450px; border-bottom:1px solid black; padding-bottom:8.5em; margin-left:-3em; } .logo_container_form4 { border-bottom:1px solid black; padding-bottom:7em; margin-left:-3em; margin-top:2em; } .vcard_container_form{ width:450px; border-bottom:1px solid black; padding-bottom:8em; margin-left:-3em; margin-top:-1em; } .vcard_pic_form { float:left; margin-left:2.2em; } .vcard_pic_text { margin-left:12em; margin-top:1em; } .webgrafik_container_form{ width:450px; border-bottom:1px solid black; padding-bottom:2em; margin-left:-3em; margin-top:-3em; } .webgrafik_container_form2{ width:450px; border-bottom:1px solid black; padding-bottom:3.5em; margin-left:-3em } .webgrafik_container_form3 { width:450px; border-bottom:1px solid black; padding-bottom:8.5em; margin-left:-3em; } .webgrafik_pic_text { float:left; margin-left:2em; } [/CODE] Der Beitrag läuft ja immer noch. MIttlerweile gibt es keine Fehler mehr im Validator Aber ich habe die damals aktuelle Version von beiden Browsern genommen. [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ★ = 12, ◇ = 4 und die Hälfte von ★ zu ◇ addiert wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Animation mit CSS3
Oben