Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Basics (2014) Understanding Values and Units Styling the Intro Paragraph

Kanaka Lakshmi Prasad Suvarapu
Kanaka Lakshmi Prasad Suvarapu
945 Points

i forgot how to nest the class and the span element inside it. could you please help me with that

how to nest class and the span element inside it.

2 Answers

Max Kutner
Max Kutner
7,595 Points

Hi!

The syntax should look like this:

.class span {

}

Hope this helps! Max

Hey there!

While it is a LOAD of information, I find the w3schools.com site to be the best CSS and HTML reference material for me. There is one particular page just for sorting out these situations. (http://www.w3schools.com/cssref/css_selectors.asp)

Keep up the good work!!