From 645a1cc6ea5763329654fdc5bed32d6c6886c294 Mon Sep 17 00:00:00 2001
From: Narendra Dhangar <161828345+narendra-dhangar@users.noreply.github.com>
Date: Fri, 3 Oct 2025 08:36:57 +0530
Subject: [PATCH] Update child-selector.md
---
docs/css/selectors/combinator-selectors/child-selector.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/css/selectors/combinator-selectors/child-selector.md b/docs/css/selectors/combinator-selectors/child-selector.md
index 4e8afc0..c24bf3a 100644
--- a/docs/css/selectors/combinator-selectors/child-selector.md
+++ b/docs/css/selectors/combinator-selectors/child-selector.md
@@ -6,11 +6,13 @@ sidebar_position: 2
tags: [selector, combinator, child]
description: "Child selector is used to select an element that is a direct child of another element."
keywords: [child selector, css child selector, css selector, css combinator, css child combinator]
+hide_table_of_contents: true
---
In CSS, the child selector is used to select an element that is a direct child of another element. The child selector is represented by the `>` character between two selectors.
+
## Syntax
@@ -58,6 +60,7 @@ The child selector is more specific than the descendant selector and less specif
:::
+
## Example: Using Child Selector
@@ -164,4 +167,3 @@ In the above example, the CSS rule will apply the color `red` to the text inside
- [Parent Selector](#): The parent selector selects an element that is a direct parent of another element.
- [Ancestor Selector](#): The ancestor selector selects an element that is an ancestor of another element.
- [Universal Selector](#): The universal selector selects all elements in a document.
--
\ No newline at end of file