This document introduces responsive web design (RWD). It discusses how early web design copied print and led to separate websites for different devices, which was expensive and impractical. RWD emerged to create designs that change based on screen size using CSS media queries. The key aspects of RWD are designing websites that respond appropriately to different devices through fluid, flexible layouts. It emphasizes designing for all possible screen widths from the start using relative units and media queries. Testing in the browser across screen sizes is important.
12. THAT WAS EXPENSIVE AND
UNSUSTAINABLE
(AND PLAIN STUPID, TO BE HONEST)
WE NEEDED SOMETHING BETTER
13. WHAT DID WE NEED?
A (UNIQUE) DESIGN THAT CHANGED IN
RESPONSE TO THE DEVICE
A DESIGN THAT LOOKED GOOD IN BOTH A
HUGE AND A TINY SCREEN (AND
EVERYTHING IN-BETWEEN)
SOMETHING ACHIEVABLE IMMEDIATELY
14. TURNED OUT WE ALREADY HAD
WHAT WE NEEDED:
CSS MEDIA QUERIES
@media screen and (max-width: 640px){ ... }
15. WITH MEDIA QUERIES
WE CAN LOAD CSS STYLESHEETS
SELECTIVELY
WE DEFINE A BASE STYLESHEET
AND ADD EXTRA STYLING
DEPENDING ON THE DEVICE SCREEN SIZE
16. YES, YES, BLAH BLAH BLAH
BUT WHAT IS RESPONSIVE WEB DESIGN, THEN?
RWD IS THE DESIGN OF WEBSITES
THAT RESPOND TO THE DEVICE
ACCESSING THEM AND DELIVER
AN APPROPRIATE OUTPUT.
THE TERM "RESPONSIVE WEB DESIGN" WAS COINED
BY ETHAN MARCOTTE IN 2010 AT AN ARTICLE ON A LIST APART
37. RESPONSIVE SHOULD NOT BE
AN "EXTRA" FEATURE
WITH RWD WE'RE, AT LAST, DESIGNING FOR THE
WEB AS AN UNIQUE MEDIUM
EVERY NEW WEB PROJECT SHOULD BE
APPROACHED WITH RWD.
38. IF YOU'RE A WEB DESIGNER
YOU NEED TO LEARN HOW TO CODE
OTHERWISE YOU'RE GETTING YOURSELF
OUT OF THE GAME.