1. Rules: selector and declarations
इस लेख का अनुवाद अपने आप होगा। अभी अंग्रेज़ी में दिखाया जा रहा है।
A CSS rule has a selector and declarations inside braces. The selector picks the elements to style. Each declaration is a property, a colon, a value and a semicolon.
Example: h1 { color: navy; } picks every h1 and makes its text navy.
उदाहरण देखें
h1 {
color: navy;
}
✍️ अब आपकी बारी
Make every h1 green.