From 62f309792a16f0ebb819ecc9fb020264610e90b6 Mon Sep 17 00:00:00 2001 From: Narendra Dhangar <161828345+narendra-dhangar@users.noreply.github.com> Date: Fri, 3 Oct 2025 08:32:52 +0530 Subject: [PATCH] Fix Docs issue --- .../selectors/combinator-selectors/descendant-selector.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/css/selectors/combinator-selectors/descendant-selector.md b/docs/css/selectors/combinator-selectors/descendant-selector.md index 500fc61..4716aa3 100644 --- a/docs/css/selectors/combinator-selectors/descendant-selector.md +++ b/docs/css/selectors/combinator-selectors/descendant-selector.md @@ -6,11 +6,13 @@ sidebar_position: 1 tags: [selector, combinator, descendant] description: "Descendant selector is used to select an element that is a descendant of another element." keywords: [descendant selector, css descendant selector, css selector, css combinator, css descendant combinator] +hide_table_of_contents: true --- In CSS, the descendant selector is used to select an element that is a descendant of another element. The descendant selector is represented by a whitespace character (` `) between two selectors. +
## Syntax @@ -57,6 +59,7 @@ The descendant selector can be used to select multiple levels of descendants. Fo ::: +
## Example: Using Descendant Selector @@ -159,4 +162,4 @@ In the above example, the CSS rule will apply the color `blue` to the text insid - [Adjacent Sibling Selector](#): The adjacent sibling selector selects an element that is immediately preceded by a specified element. - [General Sibling Selector](#): The general sibling selector selects an element that is preceded by a specified element. - [Attribute Selector](#): The attribute selector selects elements based on their attributes. -- [Pseudo-Class Selector](#): The pseudo-class selector selects elements based on their state or position. \ No newline at end of file +- [Pseudo-Class Selector](#): The pseudo-class selector selects elements based on their state or position.