Dark Ages of the Web
Notes on the old internet, its design and frontend.
Bringing gradients back, baby!
This is going to be a handy reference to keep on hand whenever you want a button to actually look like a button.
Notes on the old internet, its design and frontend.
Chris takes two side-by-side deep dives; one into the a
element, the other into the button
element.
Even if you think you already know those elements well, I bet there’ll be something new here for you. Like, did you know that the button
element can have form over-riding attributes like formaction
, formenctype
, formmethod
, formnovalidate
, and formtarget
?
In defence of the cascade (especially now that we’ve got CSS custom properties).
I think embracing CSS’s cascade can be a great way to encourage consistency and simplicity in UIs. Rather than every new component being a free for all, it trains both designers and developers to think in terms of aligning with and re-using what they already have.
Remember, every time you set a property in CSS you are in fact overriding something (even if it’s just the default user agent styles). In other words, CSS code is mostly expressing exceptions to a default design.
Sara shows a few different approaches to building accessible toggle switches:
Always, always start thinking about the markup and accessibility when building components, regardless of how small or simple they seem.
Accessible star ratings (progressively enhanced from radio buttons) with lots of animation options. The code is on Github.
Is your design system really a system …or is it more like a collection of components?
Try writing your HTML in HTML, your CSS in CSS, and your JavaScript in JavaScript.
Going from delight to default in one straight line.
Balancing the ledger.
Five more articles on modern responsive design to close out the course.