Jump to content

I have this string and don’t know what it is


semicodin

Recommended Posts

I just want to know what the following > string represents in CSS. Thanks.

tbody> tr> :nth-child(1) {
        color: some color here;
        width: some width here;
}

and specifically, its relationship to the use of commas here

Edited by semicodin
Link to comment
Share on other sites

  • semicodin changed the title to I have this string and don’t know what it is

You need to read the CSS tutorial [ https://www.w3schools.com/ ] in its entirety. Once you have gone through the tutorial and done all the exercises you should have a good grasp on CSS.

This particular selector is covered in the combinators chapter: https://www.w3schools.com/css/css_combinators.asp

Commas are covered near the beginning of the tutorial in the selectors chapter: https://www.w3schools.com/css/css_selectors.asp

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...