Skip to main content
Dublin Library

The Publishing Project

Playing With text-emphasis

Sometimes it's nice to put some sort of emphasis on our text to highlight elements or because we just want it to look different. One way to create these highlights is to use the text-emphasis...

Style Queries

In the previous article, we discussed inline-size container queries. There is another type of container query: style queries. There are some significant differences Unlike inline-size queries, every...

Building a Card Component

Container queries introduce an additional and complementary way to create content in addition to what media queries allow. This post will look at container queries and how to use them to build a...

Figures As Universal Containers

When I see figures, this is what I think about and what I see the most often, maybe with srcset and sizes attributes to handle responsive images. See the Pen figure and image by Carlos Araya...

Exploring Intrinsic Sizing

There are two ways to measure content in CSS. Explicit measurements are what we're most familiar with. These are the pixels, rems and ems. Intrinsic sizes don't provide exact dimensions but size...

Everything is a box

One way of thinking about HTML and web content is to think about boxes, multiple boxes surrounding your content. You can see these nested boxes in your browser's Dev Tools as shown in figure 1. CSS...

Shapes as Layout Drivers

CSS Shapes have been around for a long time and allow developers to wrap text around the shape of the image. According to MDN: The CSS shapes module describes geometric shapes that can be in CSS. For...

Revisiting Images For The Web

It's been a while since I've looked at image formats supported on web browsers. The last time I did, AVIF had recently been introduced and Apple had announced support for WebP in Safari and operating...

Creating an Eleventy Website (Part 2)

In the last post, we looked at building and configuring an Eleventy website. This post will look at creating content for the site including: Migrating old content from WordPress, creating additional...

Archive Navigation