Unit 5: CSS Effects, Animations & Responsive Design

5.1 Columns, Images, Gradients & Transforms

CSS Columns:

Image Styling:

Gradients:

Transformations:

Transitions:

Animations:

5.2 CSS Variables & Media Queries

CSS Variables:

Media Queries:

Practice Problems (Practical 10-13)

Practical 10: Create animation that changes background color (red→yellow→green→blue) at 25%, 50%, 75%, 100%. Add 2-second delay, play backwards then forwards, and repeat forever.
Practical 11: Create button that changes background color (blue→orange) on hover in 2 seconds using transition-property, transition-duration, transition-timing-function (ease-in-out), and 1-second delay.
Practical 12: Create linear gradient (left to right) with rainbow colors and display "Rainbow" text.
Practical 13: Use media query to change background color to blue if viewport ≥ 250px, else pink.
Q1: Explain the difference between Transform and Transition in CSS.
Q2: What is animation-fill-mode? Explain forwards, backwards, and both.
Q3: How do you create a responsive image gallery using media queries?
Q4: Explain CSS variables and their advantages over hardcoded values.
Q5: Create a 3D transform effect (like a card flip animation).
Q6: How would you make a website responsive for mobile, tablet, and desktop?
Q7: Explain the difference between linear and radial gradients.
Q8: Create a pulse animation using @keyframes and animation properties.
✨ Created by DRThummar ✨

💻 Comprehensive FSD Practical Exam Preparation Material

📅 Updated: 2026 | 📚 Course Code: 117013392

🔗 GitHub Repository