~/talk

Solving Layout Challenges With Pure Sass

Talkat CPH DevFest 2024 · 2024-08-26..08-30· [css, web-platform]
slides:none on file

Shows twelve concrete layout fixes implemented with pure Sass/CSS — no framework, minimal JS — using viewport units and scroll-snap to build full-page sections, background‑fixed pseudo-elements for parallax, CSS Grid + FR/260px columns and named grid areas for a sidebar layout, container-aware card grids that alternate image order via order, clamp for fluid type, aspect‑ratio for embeds, transforms (not negative margins) for performant hover, position:sticky and clip-path for shapes; all examples compile and work in the browser.

AI-written summary · about

  1. 0:00Introduction
  2. 3:21Why websites excite me
  3. 8:22Contract to full-time
  4. 10:31Frameworks pitfalls
  5. 14:44Pure Sass for layouts
  6. 16:51Viewport units
  7. 18:39Scroll snapping without JS
  8. 20:04Grid and flexbox
  9. 22:52Repeating grids
  10. 24:36Container queries
  11. 26:01Nested grids
  12. 28:28Client requests creatively
  13. 31:18Dynamic grid order
  14. 33:47Hover effects
  15. 38:51Responsive typography
  16. 42:02Form design principles
  17. 47:24Form submission types
  18. 50:13Aspect ratios
  19. 51:37Sticky navigation
  20. 52:41Clip-path uses
  21. 54:29Where to go from here with CSS
  22. 56:38Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.