Home > DeveloperSection > Forums > Differece between li a and li > a in CSS
Garry Winogrand
Garry Winogrand

Total Post:24

Points:168
Posted on    June-14-2013 9:09 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 937  View(s)
Rate this:
Hi Exeprt,

I have seen this type line of code (li a and li > a) some where, so can you tell me what is difference between li a and li > a and which condition we apply these CSS.

Any help on above is really appreciated.


Dev Patel

Total Post:26

Points:182
Posted on    June-17-2013 4:08 AM

Hi Garry,

There are little bit difference between  li a and li > a

li a : here css apply only on <a> tag which under li tag
li > a :here css apply only on li tag not <a> tag

Don't want to miss updates? Please click the below button!

Follow MindStick