Advanced CSS - animations and modern CSS

Go beyond the exam: animations, CSS variables, modern layouts

A mini-course for the curious: transitions and animations, 2D transforms, @keyframes, CSS variables, calc/clamp functions, advanced CSS Grid and visual effects. The material goes beyond the scope of the INF.03 exam - for those who want to write truly modern CSS.

Course modules

M1 Transitions and animations 4 lessons
  1. CSS transitions (transition)

    How to create smooth transitions between an element's states. The transition-property, duration, timing-function and delay properties. Hover effects without JS.

    15 min · 20 XP · 0/2 exercises
  2. 2D transforms (transform)

    translate, scale, rotate, skew - moving, scaling and rotating elements in the plane. transform-origin and combining transforms.

    15 min · 20 XP · 0/2 exercises
  3. @keyframes and the animation property

    Creating multi-step animations: the @keyframes definition, the animation-name, duration, iteration-count, direction, fill-mode properties.

    20 min · 25 XP · 0/2 exercises
  4. Animation performance and prefers-reduced-motion

    Why animate transform and opacity (GPU compositing). prefers-reduced-motion - accessibility. will-change - when to use it with care.

    10 min · 15 XP · 0/2 exercises
M2 Modern CSS 4 lessons
  1. CSS variables (custom properties)

    Custom properties: --name: value, var() with a fallback. Inheritance through the DOM, overriding in selectors, day/night themes. CSS without a preprocessor.

    15 min · 20 XP · 0/2 exercises
  2. CSS functions: calc(), min(), max(), clamp()

    Math in CSS without JavaScript: calc() for mixed units, min/max for adaptive values, clamp(min, ideal, max) - perfect for responsive typography.

    15 min · 20 XP · 0/2 exercises
  3. Advanced CSS Grid

    grid-template-areas with names, auto-fit and auto-fill, minmax() - responsive grids without media queries. repeat() with auto-fit as a modern alternative to manual breakpoints.

    20 min · 25 XP · 0/2 exercises
  4. Container Queries - a new standard

    @container and container-type: inline-size. The difference from media queries: reacting to the container's size, not the window's. Truly reusable components.

    15 min · 20 XP · 0/2 exercises
M3 Effects and details 4 lessons
  1. Gradients: linear-gradient and radial-gradient

    Creating color gradients: linear-gradient (direction, color stops), radial-gradient, a mention of conic-gradient. Uses: hero sections, buttons, gradient borders.

    15 min · 20 XP · 0/2 exercises
  2. Filters, backdrop-filter and mix-blend-mode

    filter: blur, brightness, contrast, grayscale, sepia - effects on elements. backdrop-filter: blurring the background behind an element. mix-blend-mode: blending layers.

    15 min · 20 XP · 0/2 exercises
  3. Advanced pseudo-elements and decorations

    ::before and ::after with content and positioning - ornaments, quotes, icons. ::selection - styling selected text. Typographic decorations.

    15 min · 20 XP · 0/2 exercises
  4. What next? Sass, Tailwind and CSS frameworks

    A course summary and further growth paths: SCSS/Sass - a CSS preprocessor. Tailwind CSS - utility-first. CSS-in-JS. Where to keep learning.

    10 min · 15 XP · 0/2 exercises