*>.launch-button
{
background:#333;
}
Many new jquery, css style id or class elements start with or include (>) (<) or (*), I don’t know what they stand for actually.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
*stands for every element.>is the immediate child of an element<doesn’t, so far as I’m aware, mean anything in CSS.To explain the selector in your question:
*>.launch-buttonselects every element of class-name equal to ‘launch-button’ that’s an immediate-descendant of any element. The only way to consider this a useful selector, is to note that it will only select those elements that have a parent element. But, so far as I can tell, this will still select every element of class-name ‘launch-button,’ since thebodytag is considered an element itself. JS Fiddle demonstration.So, rather than that selector, I’d suggest just using
.launch-button.References: