Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [CSS][HTML]Transition
atom90
post
Post #1





Grupa: Zarejestrowani
Postów: 172
Pomógł: 0
Dołączył: 11.06.2014

Ostrzeżenie: (0%)
-----


Mam problem z uruchomieniem przejscia na obiektach (kafelkach) na stronie:
http://ah-teamjr.nazwa.pl/work/euforia/

sekcja (Nasza oferta)
Co może być powodem, że to niedziała?
css:

Kod
.oferta_box .ult-content-box {
    height: 255px !important;
    padding:26px 36px;
transition: transform 0.5s !important; -webkit-transition: -webkit-transform 0.5s;
}

.oferta_box .ult-content-box:hover {
  background-size: 110% !important;
}
Go to the top of the page
+Quote Post
trueblue
post
Post #2





Grupa: Zarejestrowani
Postów: 6 806
Pomógł: 1828
Dołączył: 11.03.2014

Ostrzeżenie: (0%)
-----


Jaki związek ma właściwość transform z background-size?


--------------------
Go to the top of the page
+Quote Post
atom90
post
Post #3





Grupa: Zarejestrowani
Postów: 172
Pomógł: 0
Dołączył: 11.06.2014

Ostrzeżenie: (0%)
-----


transition: background-size 2s ease-in;
-moz-transition: background-size 2s ease-in;
-ms-transition: background-size 2s ease-in;
-o-transition: background-size 2s ease-in;
-webkit-transition: background-size 2s ease-in;


bez roznicy. Faktycznie zle zastosowalem, ale to nic nie pomaga :/
Go to the top of the page
+Quote Post
trueblue
post
Post #4





Grupa: Zarejestrowani
Postów: 6 806
Pomógł: 1828
Dołączył: 11.03.2014

Ostrzeżenie: (0%)
-----


Startujesz z cover - nie będzie transition.
Nadaj tło dodatkowemu divowi osadzonemu wewnątrz omawianego i na hover użyj np.: transform: scale(1.1)


--------------------
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 03:19