Skip to main content
Dublin Library

The Publishing Project

Calculating font overrides

As a follow-up to the prior post on converting JSON/JSON5 to CSS, we will look at providing font override metrics for fallback fonts and how to use them. Katie Hempenius provides a spreadsheet with...

Using JSON5 instead of JSON

The more I work with JSON in WordPress theme blocks, the more frustrated I become even though I understand why things are the way they are. JSON has become the default data interchange program for the...

Working with local servers

When doing web development, one of the biggest pains is to have a local server where we can run the code without having to manually reload the page. This post will explore both third-party packages...

Using data attributes

data attributes give developers a very powerful tool to create custom code on both CSS and Javascript. This post will look at three things: What are data attributes How to use data attributes in...

Designing with grids

I've been working on learning more about Grids used in book design and publishing and how it may be possible to apply them to web layouts. Grids are not without challenges when working on the web....

Deep Dive into color-mix()

One of the most interesting new CSS features coming into browsers is color-mix(). We will look at two uses of color-mix(): Mixing colors Lightening and darkening a color We will also discuss some of...

Playing with initial letters

Dropcaps have been around for a long time both in printed media and the web. On the web it used to be a pain to do it but, hopefully, this is changing with the introduction of the initial-letter...

Using Design Tokens in CSS

Design tokens provide a way to create representations of design assets like colors, fonts, spacing, animations, assets, etc., for styling and building cross-platform user interfaces. One of the...

Playing with border radius

The most frequent uses of border-radius I see are to make images round without modifying the image. .circle-radius { border-radius: 50%; } or to round the corners of a rectangular...

Archive Navigation