Teaching in Porto, day two

The second day in this week-long masterclass was focused on CSS. But before we could get stuck into that, there were some diversions and tangents brought on by left-over questions from day one.

This was not a problem. Far from it! The questions were really good. Like, how does a web server know that someone has permission to carry out actions via a POST request? What a perfect opportunity to talk about state! Cue a little history lesson on the web’s beginning as a deliberately stateless medium, followed by the introduction of cookies …for good and ill.

We also had a digression about performance, file sizes, and loading times—something I’m always more than happy to discuss. But by mid-morning, we were back on track and ready to tackle CSS.

As with the first day, I wanted to take a “long zoom” look at design and the web. So instead of diving straight into stylesheets, we first looked at the history of visual design: cave paintings, hieroglyphs, illuminated manuscripts, the printing press, the Swiss school …all of them examples of media where the designer knows where the “edges” of the canvas lie. Not so with the web.

So to tackle visual design on the web, I suggested separating layout from all the other aspects of visual design: colour, typography, contrast, negative space, and so on.

At this point we were ready to start thinking in CSS. I started by pointing out that all CSS boils down to one pattern:

selector {
  property: value;
}

The trick, then, is to convert what you want into that pattern. So “I want the body of the page to be off-white with dark grey text” in English is translated into the CSS:

body {
  background-color: rgb(225,225,255);
  color: rgb(51,51,51);
}

…and so one for type, contrast, hierarchy, and more.

We started applying styles to the content we had collectively marked up with post-it notes on day one. Then the students split into groups of two to create an HTML document each. Tomorrow they’ll be styling that document.

There were two important links that come up over the course of day two:

  1. A Dao Of Web Design by John Allsopp, and
  2. The CSS Zen Garden.

If all goes according to plan, we’ll be tackling the third layer of the web technology stack tomorrow: JavaScript.

Have you published a response to this? :

Responses

davidmead

@adactio‘s teaching a masterclass on progressive enhancement in Porto (which looks lovely), and it sounds exactly like the kind of class I would’ve loved. Trouble being there were no classes back when I, we, were starting out. View source was your tutor.

Jeremy is a great presenter and he’s recapping the classes over at his site. I just love his approach on day two, for CSS…

So instead of diving straight into stylesheets, we first looked at the history of visual design: cave paintings, hieroglyphs, illuminated manuscripts, the printing press, the Swiss school …all of them examples of media where the designer knows where the “edges” of the canvas lie. Not so with the web.

Jeremy Keith

I recommend checking out his latest work, Resilient Web Design, too.

Syndicated to:

# Posted by davidmead on Tuesday, February 14th, 2017 at 9:56pm

Related posts

Timelines of the web

The World Wide Web is a mashup.

Celebrating CSS

Here’s to the next twenty years.

Teaching in Porto, day four

Thursday: putting it all together.

Teaching in Porto, day three

Wednesday: interaction design.

Teaching in Porto, day one

Monday: how the web works.

Related links

Web Design in 4 minutes

This is a wonderful way of progressively explaining the layered approach to building for the web that Charlotte was teaching in her Codebar workshop.

Tagged with

Wired.com: 20 years later | Stopdesign

Doug casts an eye back on the Wired redesign he worked on 20 years ago. It’s hard to overstate the impact this had on the adoption of web standards.

We’ve come a long way:

We’ve come so far since this redesign in 2002. We no longer trip ourselves up trying to fit everything above an imaginable fold. Designs respond to various screen sizes. Text is comfortably larger and screens display at a much higher resolution. We tend to give everything more breathing room.

Tagged with

Old CSS, new CSS / fuzzy notepad

I absolutely love this in-depth history of the web, written in a snappy, snarky tone.

In the beginning, there was no CSS.

This was very bad.

Even if you—like me—lived through all this stuff, I guarantee there’ll still be something in here you didn’t know.

Tagged with

Everything Easy is Hard Again – Frank Chimero

I wonder if I have twenty years of experience making websites, or if it is really five years of experience, repeated four times.

I saw Frank give this talk at Mirror Conf last year and it resonated with me so so much. I’ve been looking forward to him publishing the transcript ever since. If you’re anything like me, this will read as though it’s coming from directly inside your head.

In one way, it is easier to be inexperienced: you don’t have to learn what is no longer relevant. Experience, on the other hand, creates two distinct struggles: the first is to identify and unlearn what is no longer necessary (that’s work, too). The second is to remain open-minded, patient, and willing to engage with what’s new, even if it resembles a new take on something you decided against a long time ago.

I could just keep quoting the whole thing, because it’s all brilliant, but I’ll stop with one more bit about the increasing complexity of build processes and the decreasing availability of a simple view source:

Illegibility comes from complexity without clarity. I believe that the legibility of the source is one of the most important properties of the web. It’s the main thing that keeps the door open to independent, unmediated contributions to the network. If you can write markup, you don’t need Medium or Twitter or Instagram (though they’re nice to have). And the best way to help someone write markup is to make sure they can read markup.

Tagged with

A Look Back at the History of CSS | CSS-Tricks

The evolution of CSS, as told by the author of the excellent History of the Web newsletter.

Tagged with

Previously on this day

12 years ago I wrote Counting down to the Responsive Day Out

Just two weeks to go.

12 years ago I wrote Tweakpoints

Not all media queries are created equal.

17 years ago I wrote Something for the weekend

Eventful.

18 years ago I wrote Helvetica

The film of the typeface.

18 years ago I wrote YouTubing

Clearleft has a YouTube star.

19 years ago I wrote The green, green grass of home

I’m going to Ireland for a week.

20 years ago I wrote Geekend IV: The Revenge

London was the setting for another geekend get-together on Saturday.

23 years ago I wrote A Canticle for Leibowitz

My reading matter lately seems to consist entirely of classic science fiction books I haven’t read in years.

23 years ago I wrote TotL.net Human Virus Scanner

You can keep your Nortons and your McAfees.

23 years ago I wrote Blog This

Consider it blogged.