[Pomoc] Prelaz

Započeo LoOdaK, April 22, 2017, 16:50:39 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Napravio sam panel i sad u panelu sam stavio sliku i text,i napravio sam kad se preko panela nanese mis da on promijeni boju ali kako da napravim da isto tako promijeni i boju teksta?
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



more slikica :#
Marketing Associate[/url]
Graphic Designer
UI/UX Designer
Instagram

Koda ili?
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!




CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Posalji CSS :hover od tog diva

.panel-default:hover { background: #ff8533; color:white;}
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!




Paz sad kako je to,to je panel a u njemu se nalazi heading i body,u body se nalazi tekst taj koji hocu promijeniti,ali ja sam preko panela nekako probo kad nanesem mis na panel,da ono i taj tekst promijeni,ali probao sam da taj body promijeni boju i taj tekst,ali posto su meni u body slike onda je taj body kako da kazem siri od panela,pa ruzno izgleda,ali ovako ne razumijem kako.


Postoji li neki nacin da preko panel hovera da pristupim body panelu i tom tekstu??
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Primjer
.panel-default:hover p{color: red;}
.panel:hover .text {color: red;}

sad ne znam točno kako ti je definiran tekst

https://jsfiddle.net/h3nmd31b/
evo primjer

EDIT: morao sam napraviti dupli post, jer ne mogu izmjenit ovaj prijašnji