---
title: "Descendant Selectors in CSS"  
description: "Descendant Selectors in CSS"  
author: "Dag Hammarskjold"  
published: 2013-06-14  
updated: 2013-06-17  
canonical: https://www.mindstick.com/forum/1095/descendant-selectors-in-css  
category: "css-css3"  
tags: ["css-css3"]  
reading_time: 1 minute  

---

# Descendant Selectors in CSS

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
Can any one tell me what is **descendant [selectors](https://www.mindstick.com/interview/22831/what-is-the-use-of-selectors-in-objective-c)** in [css](https://www.mindstick.com/forum/514/background-gradient-ie7-css-problem) and how to use this? \
Please provide any use [full](https://www.mindstick.com/articles/12893/experience-the-full-power-of-suitecrm) example.\
Any help on above is really appreciated.

## Replies

### Reply by Anonymous User

Hi,\
Descendant selectors apply style based on whether one element is a descendant of another. In CSS, descendant means an element that is a child, grandchild, great grandchild, and so on, of another element. This type of relationship is referred to as an ancestral relationship. \
e.g. \
**div#body span.inline-code {****font-family:monospace;** **}**


---

Original Source: https://www.mindstick.com/forum/1095/descendant-selectors-in-css

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
