Descendant Selectors in CSS
Descendant Selectors
Descendant selectors are used to select elements that are descendants of another element. When selecting, we can select as many levels deep as we need to for styling purposes.
Syntax:-
Its syntax is:-
< style >
element_1 element_2{
property: value;
}
< /style >
Code Explanation
All Tutorials related to CSS Basic
CSS Syntax
ID and CLASS Selectors
Descendant Selectors
Comments
Inheritance
Font Family
Font Size
Font Style
Font Weight
Font Variant
Color
Text Align
Vertical Text Align
Text Decoration
Text Indent
Text Shadow
Text Transform
Letter Spacing
Word Spacing
White Spacing