← All tutorials
Skill Zuno · skillzunos.com · Fullstack
CSS tutorial
Learn CSS on Skill Zuno. This CSS tutorial covers New, Easy, Medium, Hard, and Diff levels so you can study practical CSS problems on skillzunos.com.
Open CSS on Skill ZunoAlso see the CSS interview questions.
CSS controls how HTML is presented: layout, colour, typography, spacing and animation. Modern CSS adds Flexbox, Grid, custom properties, container queries and powerful selectors. CSS interviews focus on the cascade and specificity, the box model, positioning, Flexbox and Grid layout, and responsive design.
CSS topics covered
- The cascade, specificity and inheritance — How the browser decides which rule wins when several match the same element.
- The box model and box-sizing — Content, padding, border and margin, and why border-box makes sizing predictable.
- Display, position and stacking contexts with z-index — Static, relative, absolute, fixed and sticky positioning, and why z-index sometimes seems ignored.
- Flexbox layout — Aligning and distributing items along one axis with justify-content, align-items and flex.
- CSS Grid layout — Two-dimensional layouts with template columns, areas, fr units and auto-fit.
- Responsive design: media queries, container queries and relative units — Making layouts adapt to the screen or to their container, using rem, %, vw and clamp().
- Custom properties (CSS variables) — Reusable values for theming and dark mode that can change at runtime.
- Transitions, animations and rendering performance — Animating smoothly with transform and opacity, and avoiding layout thrashing.
What you can learn
- CSS tutorial for beginners and experienced developers
- Level-based practice: New, Easy, Medium, Hard, and Diff
- Fullstack topics alongside CSS on skillzunos.com