mikhl Posted August 19, 2011 Share Posted August 19, 2011 I have come across a > used within some CSS code. I was wondering if anyone could inform me of its use? The code that I found is: nav ul > li { /*some css*/ } Thanks Quote Link to comment https://forums.phpfreaks.com/topic/245188-what-is-this-used-for/ Share on other sites More sharing options...
AyKay47 Posted August 19, 2011 Share Posted August 19, 2011 (direct) child selector combinator.. http://www.w3.org/TR/CSS21/selector.html#child-selectors Quote Link to comment https://forums.phpfreaks.com/topic/245188-what-is-this-used-for/#findComment-1259372 Share on other sites More sharing options...
mikhl Posted August 19, 2011 Author Share Posted August 19, 2011 All makes sense now, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/245188-what-is-this-used-for/#findComment-1259595 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.