[css] kaskadowosc
web - 16-05-2010 18:15
[css] kaskadowosc
witam
mam takie formatowanie:
------- przyklad 1 -----------------
..obiekt UL LI:hover {background:$FF0000}
..obiekt UL LI#li5:hover {background:$FFFFFF} <-- to nie dziala
------- przyklad 2 -----------------
..obiekt UL LI:hover {}
..obiekt UL LI#li5:hover {background:$FFFFFF} <-- TO DZIALA
reasumujac:
gdy wszystkie obiekty (w tym zadany obiekt) maja wlaczony kolor, to
pozniejsze formatowanie tylko okreslonego obiektu (#LI5:hover) nie
ustawia koloru bialego po najechaniu myszka (przyklad 1)
gdy wszystkie obiekty (w tym zadany obiekt) maja WYLACZONY kolor, to
pozniejsze formatowanie tylko okreslonego obiektu (#LI5:hover) USTAWIA
kolor bialy po najechaniu myszka (przyklad 2)
jak zrobic by kolor dla wyjatkowego obiektu .obiekt UL LI#li5:hover
zmienial sie po najechaniu myszka bez wzgledu na ustawienie badz nie
innych kolorow??
pozdrawiam
=?UTF-8?B?UGF3ZcWCIFBpc2tvcno=?= - 16-05-2010 18:15
On 2010-05-09 00:25, web wrote:
> witam
>
> mam takie formatowanie:
>
> ------- przyklad 1 -----------------
> .obiekt UL LI:hover {background:$FF0000}
> .obiekt UL LI#li5:hover {background:$FFFFFF}<-- to nie dziala
Co to jest $FFFFFF?
--
message[autor="PablO"]::after {
content:"Pozdrawiam";
}