---
title: "CSS rule &#39;ruleset&#39;"  
description: "CSS rule &#39;ruleset&#39;"  
author: "Anonymous User"  
published: 2012-12-17  
updated: 2012-12-17  
canonical: https://www.mindstick.com/forum/502/css-rule-39-ruleset-39  
category: "css-css3"  
tags: ["css-css3"]  
reading_time: 1 minute  

---

# CSS rule &#39;ruleset&#39;

Hi,\
\
These [days](https://www.mindstick.com/articles/157271/how-to-get-cloudways-free-trial-for-14-days-free) I'm working on [CSS](https://www.mindstick.com/forum/514/background-gradient-ie7-css-problem).\
Please help me what is CSS [rule](https://www.mindstick.com/interview/1715/describe-the-rules-in-style-sheets) 'ruleset'?\
\
Thanks\

## Replies

### Reply by AVADHESH PATEL

Hi Ankit Singh,\
\

There are two type CSS rule

1. ruleset

2. at-rule.

Ruleset identifies selector or selectors and declares style which is to be attached to that selector or selectors. For example P {text-indent: 10pt} is a CSS rule. CSS rulesets consist of two parts: selector, e.g. P and declaration, e.g. {text-indent: 10pt}. P {text-indent: 10pt} - CSS rule (ruleset) {text-indent: 10pt} - CSS declaration text-indent - CSS property 10pt - CSS value.


---

Original Source: https://www.mindstick.com/forum/502/css-rule-39-ruleset-39

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
