Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 54

Tell us what’s happening:
Now target the th elements within your table body, and give them a width of the entire container, less 12rem .

Can someone help with this step? I can’t seem to figure it out.

Your code so far
.tbody th{
width: calc(100% - 12rem);
}
WARNING

You should have a tbody th selector.
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

Challenge: Learn More About CSS Pseudo Selectors By Building A Balance Sheet - Step 54

Link to the challenge:

1 Like

You are very close! Double check this selector - what is it targeting, and what should it target?

omg thank you! for some reason i was thinking tbody as a class this whole time.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.