Chapter 5: Interactions & Responsive Design (1.F, 1.G)
Exam topics 1.F Interactions and 1.G Responsive design: triggers, easing, smoothing, reduced motion, breakpoint cascade, units and reflow, with 11 practice questions.
Exam topics 1.F Interactions and 1.G Responsive design.
1.F: Create dynamic and engaging experiences while prioritizing performance and accessibility; create element and page triggers. Key terms: interactions panel, animation, trigger, interpolation, ease, smoothing, parallax, page load, show/hide, scroll.
1.G: Design to maintain a consistent and quality user experience across various breakpoints and device types, including navigation. Key terms: responsiveness, breakpoint, fixed, relative, reflow, flexbox, box model.
Weight: 4% + 4% = 8% of the exam (about 4 questions)
This chapter covers how a site moves (interactions) and how it adapts to screen sizes (responsive design). Both are about the visitor’s experience, and both come with responsibilities: animations must not get in the way of people who are sensitive to motion, and layouts must work on a 390px phone as well as a 1920px monitor. One official sample question is in this chapter, and it catches many people out.
Part A: Interactions
5.1 Triggers and animations
Every interaction has two parts: a trigger (what starts it) and an animation (what happens). You build them in the Interactions panel.
| Trigger type | Examples |
|---|---|
| Element triggers (on a selected element) | Mouse click (tap), mouse hover, mouse move over element, scroll into view, while scrolling in view, navbar open/close, dropdown open/close, tab change, slider change |
| Page triggers (on the whole page) | Page load, page scroll, mouse move in viewport |
An animation is a sequence of actions on one or more targets: move, scale, rotate, opacity, size, color, filter, and show/hide (changing an element’s display, for example to open a modal or a mobile menu). Each action has a duration, a delay and an easing.
Interactions can target the trigger element, a class (all elements with it), or elements related to the trigger (children, siblings), so one interaction set on a class can power every card on the site.
5.2 Timing: ease, smoothing and interpolation
- Ease (easing) controls how speed changes during an animation. Ease out starts fast and slows down, which feels natural for things entering the screen; ease in starts slowly, good for things leaving; linear is constant speed, usually mechanical-looking except for continuous loops.
- Interpolation is how values in between keyframes are calculated: the animation moves smoothly from the start value to the end value, following the chosen easing curve.
- Smoothing applies to continuous triggers that follow the mouse or the scroll position (mouse move, while scrolling, page scroll). It adds a slight lag so the animation glides instead of jumping with every pixel of movement.
Keep durations short: about 200–500 ms for interface feedback (hovers, menus), a bit longer for large entrances. Long, slow animations make a site feel sluggish.
5.3 Common interaction patterns
| Effect | Trigger | Animation |
|---|---|---|
| Fade-in on scroll | Scroll into view | Opacity 0 → 100%, move up a few pixels |
| Parallax | While scrolling in view | Move an image slower than the page as the section scrolls |
| Hero entrance | Page load | Heading and buttons fade and move in, staggered |
| Modal | Mouse click on a button | Show the modal (display), fade it in; a close button hides it |
| Scroll progress bar | Page scroll | Width 0 → 100% as the page scrolls |
| Card hover lift | Mouse hover | Move up and add a shadow (or use a class Hover state with a transition) |
Simple hover color changes don’t need an interaction at all: a class Hover state plus a transition in the Style panel is lighter and easier to maintain (Chapter 2).
5.4 Performance and accessibility
- Animate transform and opacity (move, scale, rotate, fade). They’re cheap for the browser. Animating size, margins or heavy blur filters on many elements can make scrolling stutter.
- Don’t hide important content behind animation. If a heading starts at opacity 0 and the animation fails or is slow, visitors see nothing.
- Respect reduced motion. Some people get dizzy or nauseous from motion, and set “reduce motion” in their operating system. Large movements, parallax and auto-playing animations should be reduced or turned off for them, using the interaction settings for reduced motion where available or a prefers-reduced-motion rule.
- Keep it keyboard-friendly. Menus, tabs and modals opened by interactions must also open, close and receive focus with the keyboard. Webflow’s built-in Navbar, Dropdown, Tabs and Slider elements handle this better than custom div-based versions.
- Nothing should flash more than three times per second.
Part B: Responsive design
5.5 Breakpoints and how styles cascade
Webflow designs start at the Desktop breakpoint, the base. Styles set on Desktop apply to every screen size unless changed at another breakpoint.
| Breakpoint | Applies to widths | Cascade |
|---|---|---|
| 1920, 1440, 1280 (optional larger) | Those widths and up | Cascade up from Desktop |
| Desktop (base) | 992px and up | Applies everywhere unless overridden |
| Tablet | 991px and below | Cascades down to mobile sizes |
| Mobile landscape | 767px and below | Cascades down to Mobile portrait |
| Mobile portrait | 478px and below | Smallest |
So a font size set on Tablet also applies to both mobile breakpoints, unless you set another value there. A style set on Mobile landscape doesn’t change Tablet or Desktop.
5.6 Hiding vs. deleting: the sample question
Official sample question 5: If you delete an image on the Mobile landscape breakpoint, on which breakpoint will the image still be visible? Answer: none of them. Breakpoints change styles, not the page structure. An element exists once in the page; deleting it removes it from every breakpoint.
To remove something only on smaller screens, select it at that breakpoint and set Display: None (the Visibility setting) in the Style panel. It stays on larger breakpoints. Don’t overuse this: hidden content is still downloaded, and duplicating whole sections for desktop and mobile doubles the work and confuses screen readers. Prefer layouts that reflow.
5.7 Fixed vs. relative units
| Unit | Type | Use it for |
|---|---|---|
| px | Fixed | Borders, small details, icon sizes |
| % | Relative to the parent | Widths of columns and images |
| em / rem | Relative to font size | Font sizes and spacing that scale with text (rem = root font size) |
| vw / vh | Relative to the viewport | Full-screen heroes (careful: 100vh on mobile and 100vw with scrollbars can overflow) |
Fixed widths are the main cause of horizontal scrolling on phones. A box set to width: 600px can’t fit a 390px screen; width: 100% with a max-width: 600px can.
The guide’s “fixed” and “relative” also refer to positioning: relative keeps an element in the flow (and is the anchor for absolutely positioned children), absolute places it relative to that anchor, fixed pins it to the viewport (a sticky header or chat button), and sticky sticks it while its container scrolls. Fixed elements cover content on small screens, so keep them small.
5.8 Reflow, flexbox and the box model
- Reflow means content rearranges to fit the screen, without horizontal scrolling and without needing to zoom out. WCAG asks that content works at 320 CSS pixels wide.
- Flexbox arranges children in a row or column. With wrap on, a row of cards becomes two rows, then one column as the screen narrows. Change the direction from horizontal to vertical at a smaller breakpoint to stack columns.
- Grid handles rows and columns together; change the number of columns per breakpoint.
- The box model: every element is content + padding + border + margin. Webflow uses
border-box, so padding and border are included in an element’s width. Reduce large paddings and margins on mobile breakpoints so content isn’t squeezed.
5.9 Responsive navigation and testing
- Set the Navbar to collapse into a menu button at Tablet or Mobile, and style the open menu at those breakpoints.
- Make tap targets big enough (around 44×44px) with enough space between them.
- Test every breakpoint in the Designer, then on real phones from the staging site. Drag the canvas width between breakpoints too; layouts often break at in-between widths.
5.10 Quick checklist
- ☐ Animations use transform and opacity, short durations, sensible easing.
- ☐ Reduced-motion users get less or no motion; menus and modals work with a keyboard.
- ☐ No fixed widths that overflow small screens; no horizontal scroll at 320px.
- ☐ Things removed on mobile are hidden (Display: None), not deleted.
- ☐ Navbar collapses at the right breakpoint; tap targets are large.
Going further: Chapter 2: Interactions & Animations of the Visual Developer guide.
Practice questions: Interactions & responsive design
Answer them all first, then check the answers and explanations below.
Q1. If you delete an image on the Mobile landscape breakpoint, on which breakpoint will the image still be visible?
- a. Desktop
- b. Tablet
- c. Mobile portrait
- d. None of the above
Q2. A decorative image should appear on Desktop and Tablet but not on phones. What should you do?
- a. Create a second page for mobile
- b. Select it at Mobile landscape and set Display: None
- c. Delete it at Mobile landscape
- d. Set its width to 0 on Desktop
Q3. You set a heading’s font size to 36px on the Tablet breakpoint. Where does it apply?
- a. Desktop and Tablet
- b. Every breakpoint
- c. Tablet only
- d. Tablet, Mobile landscape and Mobile portrait, unless overridden there
Q4. Which trigger fades in a section when it enters the screen as the visitor scrolls?
- a. Page load
- b. Scroll into view
- c. Mouse hover
- d. Mouse click
Q5. A background image should move slowly as its section scrolls, creating a parallax effect tied to scroll position. Which trigger fits best?
- a. While scrolling in view
- b. Page load
- c. Scroll into view (play once)
- d. Mouse click
Q6. A mouse-follow effect looks jittery, jumping with every small movement. Which setting helps?
- a. Smoothing
- b. Changing the trigger to page load
- c. Increasing the delay to 5 seconds
- d. Adding more keyframes
Q7. (Multi-select) Which practices make interactions more accessible and performant? (Choose three.)
- a. Reduce or disable large motion for visitors who prefer reduced motion
- b. Animate transform and opacity rather than size or heavy filters
- c. Make menus and modals opened by interactions work with the keyboard
- d. Make every element on the page bounce on load
Q8. A pricing card has width: 640px, and phones show a horizontal scrollbar. What’s the best fix?
- a. Set overflow hidden on the body
- b. Set width to 100% with a max-width of 640px
- c. Hide the card on phones
- d. Increase the width to 800px
Q9. A row of three columns should stack vertically on phones. What’s the simplest approach with flexbox?
- a. Build a separate mobile section and hide the desktop one
- b. Absolutely position each column
- c. Change the flex direction to vertical at the mobile breakpoint (or enable wrap)
- d. Reduce the font size to 4px
Q10. Which easing usually feels most natural for an element entering the screen?
- a. Linear
- b. No easing, instant jump
- c. Ease out (fast start, slow end)
- d. Ease in (slow start, fast end)
Q11. A chat button should stay in the bottom-right corner of the screen while the page scrolls. Which position value does that?
- a. Fixed
- b. Absolute inside the footer
- c. Static
- d. Relative
Answers and explanations
Q1: d. The official sample question. Elements exist once in the page; breakpoints only change styles. Deleting an element removes it from every breakpoint. To hide it at one size, use Display: None.
Q2: b. Display: None at Mobile landscape hides it there and at Mobile portrait, while Desktop and Tablet keep it. (c) deletes it everywhere. (d) changes Desktop. (a) duplicates the site.
Q3: d. Styles cascade down from the breakpoint where they’re set. (c) would need a different value at the mobile breakpoints. (a) and (b) Desktop isn’t affected by a Tablet style.
Q4: b. Scroll into view fires when the element enters the viewport. (a) runs when the page loads, whether the section is visible or not. (c) and (d) need mouse actions.
Q5: a. While scrolling in view ties the animation’s progress to the scroll position, which is what parallax needs. (c) plays a timed animation once. (d) and (b) aren’t scroll-linked.
Q6: a. Smoothing adds a little lag to mouse- and scroll-linked animations so they glide. (c) delays make it unresponsive. (b) changes the effect entirely. (d) doesn’t fix jitter.
Q7: a, b and c. Cheap properties, reduced motion and keyboard support are the core rules. (d) excessive motion is distracting and can cause discomfort.
Q8: b. A fluid width with a maximum fits any screen and stays at 640px on large ones. (c) removes content. (a) hides the symptom and can hide content. (d) makes it worse.
Q9: c. Switching direction (or wrapping) reflows the same content. (a) duplicates content. (b) breaks the flow. (d) makes text unreadable.
Q10: c. Ease out decelerates into place, like real objects. (a) feels mechanical. (d) suits exits. (b) isn’t an animation.
Q11: a. Fixed positions an element relative to the viewport, so it stays put during scrolling. (d) and (c) keep it in the flow. (b) positions it inside the footer.