What is CSS? • CSS stands for Cascading Style Sheets • Controls the presentation of HTML elements • Separates content (HTML) from design
Uses of CSS • Controls colors, fonts, spacing, layouts • Makes websites responsive • Saves time by reusing styles • Improves user experience • Allows animations and transitions
Types of CSS 1. Inline CSS – inside HTML tag 2. Internal CSS – inside <style> tag 3. External CSS – in a separate .css file