Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
[CSS3] Problem z transition ?
#1
Kiedy mam dwa transitions na jednego DIV'a to tylko jeden dziala.. w moim przypadku dziala tylko height, a opacity nie dziala... Jestem prawie 100% pewien ze mozna miec dwa rozne transitions w jednym div'ie. POMOCY!

o to kod:

Kod:
#header #user_panel {
    width: 300px;
    
    height: 35px;
    transition: height .50s ease-in-out;
    -moz-transition: height .50s ease-in-out;
    -webkit-transition: height .50s ease-in-out;
    
    background: black;
    
    opacity: 0.1;
    transition: opacity .50s ease-in-out;
    -moz-transition: opacity .50s ease-in-out;
    -webkit-transition: opacity .50s ease-in-out;
    float: right;
    margin-right: 25px;
    
}

Kod:
#header #user_panel:hover {
    width: 300px;
    
    height: 100px;
    transition: height .50s ease-in-out;
    -moz-transition: height .50s ease-in-out;
    -webkit-transition: height .50s ease-in-out;
    
    background: black;
    
    opacity: 0.5;
    transition: opacity .50s ease-in-out;
    -moz-transition: opacity .50s ease-in-out;
    -webkit-transition: opacity .50s ease-in-out;
    float: right;
    margin-right: 25px;
    
}
Odpowiedz


Wiadomości w tym wątku
[CSS3] Problem z transition ? - przez cryptarithm - 02-08-2012, 21:21
RE: [CSS3] Problem z transition ? - przez Kartofelek - 02-08-2012, 23:54

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  Problem z transition w css3 ziomalnb 2 3,148 19-07-2013, 21:17
Ostatni post: MatixYo
  Css3 właściwość float-offset. finito 1 2,376 11-02-2013, 03:12
Ostatni post: Kartofelek
  HTML5/CSS3 Yavimava 3 3,297 08-12-2011, 03:59
Ostatni post: Kartofelek
  CSS3 PIE - problem SkuterPL 4 3,447 09-10-2011, 03:54
Ostatni post: SkuterPL
  Sposób na CSS3 w IE przemooomax 2 2,703 18-12-2010, 20:07
Ostatni post: przemooomax

Skocz do:


Użytkownicy przeglądający ten wątek: 2 gości
Sponsorzy i przyjaciele
SeoHost.pl