Is it true that using the > selector in css rules is considered bad practice? I vaguely recall reading something about this before. Can anyone provide more information on this topic?
For instance:
<style>
#search-form {
... add your CSS rules here...
}
#search-form > input[type=text] {
... define some rules...
}
#search-form > button {
... more rules go here...
}
</style>
<form id="search-form">
<input type="text" placeholder="Search...">
<button>Search!</button>
</form>