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
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
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.
Selects all "li" elements where the parent is element that has class "nav-tabs" and "nav-justified"