-4

I have a question about css,

In some bootstrap files I see ">" :

.nav-tabs.nav-justified > li { float: none; }

I am not sure what exactly is ">" in that phrase

Nav
  • 4,450
  • 10
  • 53
  • 84
  • http://stackoverflow.com/questions/3225891/what-does-means-in-css-rules Possible duplicate – Dan Johnson Apr 20 '14 at 12:28
  • https://www.google.com.au/search?q=css+selectors&oq=css+selectors&aqs=chrome..69i57j0l5.1905j0j7&sourceid=chrome&es_sm=122&ie=UTF-8 – Marty Apr 20 '14 at 12:28
  • http://stackoverflow.com/questions/3225891/what-does-the-greater-than-sign-css-selector-mean You can find the solution here. – Winchester Apr 20 '14 at 12:29

2 Answers2

0

child combinator selector

This means it will only select list items that are direct children of an .nav-tabs.nav-justified. In otherwords, it only looks one level down the markup structure, no deeper. So if there was another div list nested deeper, the list item children of it will not be targeted by this selector.

4dgaurav
  • 11,360
  • 4
  • 32
  • 59
-1

Selects all "li" elements where the parent is element that has class "nav-tabs" and "nav-justified"