⏳ CSS History
🎨 CSS (Cascading Style Sheets) ek stylesheet language hai jo HTML elements ko style dene ke liye use hoti hai. Yeh web pages ka look aur feel define karti hai. CSS ka evolution 1996 se start hua tha aur aaj tak kaafi improve ho chuka hai.
History
- 📅 1996: CSS ka *first version (CSS1)* W3C (World Wide Web Consortium) ne release kiya. Is version me basic styling features the jaise *font size, color, background, text alignment* etc.
- 📅 1998: *CSS2* release hua jisme *positioning, media types aur z-index* jaise naye features add kiye gaye.
- 📅 1999-2011: *CSS3* develop hona start hua. Yeh modular approach par based tha aur isme *animations, transitions, flexbox, grid, gradients* jaise naye features add kiye gaye.
- 📅 2017: CSS ka evolution aage badha aur naye browsers ne *CSS Grid, Custom Properties (CSS Variables), Box Shadow, Responsive Design* aur naye units (vh, vw, rem, em) ko support karna shuru kar diya.
- 📅 Present: Aaj ke modern CSS me *dark mode, container queries, nesting, subgrid, advanced animations* jaise naye features add ho rahe hain, jo web development ko aur bhi powerful bana rahe hain.
Importance
- ✅ CSS web pages ka layout aur design improve karta hai.
- ✅ Yeh HTML ko visually appealing banata hai.
- ✅ Responsive web design banane me help karta hai.
- ✅ Modern features jaise animations aur transitions add karta hai.
💡 Simple CSS Example
h1 { color: blue; text-align: center; font-size: 30px; }🔵 Yeh CSS code sabhi <h1> headings ka color blue karega, text center me dikhayega aur font size 30px set karega.
✨ CSS kaafi evolve ho chuka hai aur naye features ke saath aaj ke browsers me aur bhi powerful ho raha hai. *Agar aapko modern web development me expert banna hai, toh CSS ko achhe se seekhna zaroori hai!*
