2x Transitions

  • CSS

Es gibt 2 Antworten in diesem Thema. Der letzte Beitrag () ist von Zargor.

    2x Transitions

    Hallo ich habe das Problem:

    Ich möchte auf einen Link 2 Transition-Effekte haben. Aber es wird immer nur der unterste geladen.
    Wenn ich die Positionen der Transitions austausche geht der andere aber nicht der alte.
    Also immer nur der unterste.

    Warum?

    Code:

    HTML-Quellcode

    1. #nav ul li a:hover{
    2. border-bottom: 0.158em solid #0B67E7;
    3. color: #E7590B;
    4. transition: border-bottom 2.4s;
    5. -webkit-transition: border-bottom 2.4s;
    6. -moz-transition: border-bottom 2.4s;
    7. -o-transition: border-bottom 2.4s;
    8. transition: color 0.4s;
    9. -webkit-transition: color 0.4s;
    10. -moz-transition: color 0.4s;
    11. -o-transition: color 0.4s;
    12. }


    MfG

    Weil der Code den oberen überschreibt. Trenne sie mit Komma.
    transition: color .2s, margin .4s

    Grüße
    "Life isn't about winning the race. Life is about finishing the race and how many people we can help finish the race." ~Marc Mero

    Nun bin ich also auch soweit: Keine VB-Fragen per PM! Es gibt hier ein Forum, verdammt!