what is the meaning of this line in css
.btn-group > .btn-mini
That is a child selector, it will only select the next element it finds with a class of `.btn-mini`.
No, it doesn’t.
It means it will target any element with the .btn-mini class which is directly descendant of any element with the .btn-group class.
This means the p tag will match but not the span since it’s not a direct child of .btn-group.
You can learn a little bit more about it here too: http://css-tricks.com/child-and-sibling-selectors/
Thank you all
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed