Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

2 Stron V  < 1 2  
Reply to this topicStart new topic
> [CSS][HTML] Tekst i przyciemnienie na obrazku
trueblue
post
Post #21





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

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


Bez sensu. Znów ustawiasz position i z-index dla obrazka na :hover.
Go to the top of the page
+Quote Post
annow
post
Post #22





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 9.07.2016

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


Cytat(trueblue @ 11.07.2016, 17:30:51 ) *
Bez sensu. Znów ustawiasz position i z-index dla obrazka na :hover.


ale bez dodania hover dla .obra1 nie działa (IMG:style_emoticons/default/sad.gif)
  1. .test1 {
  2. position:relative;
  3. font-size: 0px;
  4. }
  5. .test1:hover {
  6. -webkit-filter: brightness(30%);
  7. filter: brightness(30%);
  8. -webkit-transition: all 1s linear;
  9. -moz-transition: all 1s linear;
  10. -ms-transition: all 1s linear;
  11. -o-transition: all 1s linear;
  12. transition: all 1s linear;
  13. font-size: 20px;
  14. color: red;
  15. font-family: Arial;
  16. }
  17.  
  18. .obra1 {
  19. position: absolute;
  20. z-index:-1;
  21. }


Ten post edytował annow 11.07.2016, 16:34:26
Go to the top of the page
+Quote Post
trueblue
post
Post #23





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

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


https://jsfiddle.net/4t29s6ws/3/
Go to the top of the page
+Quote Post
annow
post
Post #24





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 9.07.2016

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


Cytat(trueblue @ 11.07.2016, 17:56:58 ) *

Jestem Ci bardzo wdzięczny, dziękuję za pomoc (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
trueblue
post
Post #25





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

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


Tu jest rozwiązane zmianą z-index napisu:
https://jsfiddle.net/4t29s6ws/4/
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 24.12.2025 - 20:00