Topic: CSS Basics

Select a descendant – CSS

Preview

To select a descendant of an HTML element, use 2 selectors separated by a space:

.class-name p {}

To view the full tutorial, sign up for a free trial on our Sign Up page.