Bookmark
How to think about HTML responsive images
https://danburzo.ro/responsive-images-html/, posted Apr '24 by peter in css development graphics howto html reference webdesign
Here’s how I made sense of responsive image content, progressing from simpler to more complicated — and then back to simple.
Bookmark
Tree views in CSS
https://iamkate.com/code/tree-views/, posted 2022 by peter in css development howto html webdesign
A tree view (collapsible list) can be created using only HTML and CSS, without the need for JavaScript. Accessibility software will see the tree view as lists nested inside disclosure widgets, and the standard keyboard interaction is supported automatically.
Bookmark
h-feed - Microformats Wiki
https://microformats.org/wiki/h-feed, posted 2021 by peter in development html rss standard webdesign
h-feed is a simple, open format for publishing a stream or feed of h-entry posts, like complete posts on a home page or archive pages, or summaries or other brief lists of posts. h-feed is one of several open microformat draft standards suitable for embedding data in HTML.
Bookmark
Gradient Magic - Fantastic and Unique CSS Gradients
https://www.gradientmagic.com/, posted 2020 by peter in css design graphics html webdesign
Gradient Magic is the largest gallery of CSS Gradients on the web, with new and exciting gradients added every day.
CSS Gradients are fancy patterns created via CSS, primarily used to add color or patterns to a website. They have many benefits over images, including being easier to work with and much smaller in size.
Bookmark
Creating Your Own CSS Grid System | Jan Drewniak
j4n.co/blog/Creating-your-own-css-grid-system, posted 2018 by peter in css html reference webdesign
CSS Grids have been around a long time. Often they come bundled in frameworks such as Bootstrap. I'm not a Bootstrap hater, but sometimes using a framework is overkill if all you really need is a grid. Here's how to make your own CSS Grids from scratch.
Bookmark
How to Center in CSS
howtocenterincss.com/, posted 2017 by peter in css howto html reference webdesign
Centering in CSS is a pain in the ass. There seems to be a gazillion ways to do it, depending on a variety of factors. This consolidates them and gives you the code you need for each situation.
Bookmark
Perfect responsive images: HTML5 and Bootstrap 4
inspire.blufra.me/html5-element-and-bootstrap-4-media-queries/, posted 2016 by peter in css howto html reference webdesign
Let’s harness the power of these new media queries to serve an image of the right size based on the device a user views our site on. We’re going to save a lot of bandwidth for the small devices, and serve a beautiful large image for larger ones.
We’ll do that by using the HTML5 picture element and its powerful source tag and media and srcset attributes.
Bookmark
Responsive Images in Practice · An A List Apart Article
alistapart.com/article/responsive-images-in-practice, posted 2014 by peter in css graphics howto html webdesign
For years, we’ve known what’s been weighing down our responsive pages: images. Huge ones, specially catered to huge screens, which we’ve been sending to everyone. We’ve known how to fix this problem for a while too: let us send different sources to different clients. New markup allows us to do exactly that. srcset lets us offer multiple versions of an image to browsers, which, with a little help from sizes, pick the most appropriate source to load out of the bunch. picture and source let us step in and exert a bit more control, ensuring that certain sources will be picked based on either media queries or file type support.
Bookmark
Let's build a browser engine! Part 1: Getting started
limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.html, posted 2014 by peter in development howto html
I’m building a toy HTML rendering engine, and I think you should too. This is the first in a series of articles.
Bookmark
One Step Ahead: Improving Performance with Prebrowsing · An A List Apart Article
alistapart.com/article/one-step-ahead-improving-performance-with-prebrowsing, posted 2014 by peter in development howto html optimization usability webdesign
We tend to see the web as a reactive model, where every action causes a reaction. Users click, then we take them to a new page. They click again, and we open another page. But we can do better. We can be proactive with prebrowsing.