Skip to main content
Dublin Library

The Publishing Project

Using 'clamp' to control CSS Values

Rather than using media queries to control the dimensions of an element, we can use the clamp to accomplish the same task with less code. According to MDN: The clamp() CSS function clamps a middle...

Different views of masonry layout

There is an interesting discussion going on about masonry layouts and how they should be added to the web platform. This post will analyze the different proposals and then express an opinion as to...

Detecting Javascript Support in CSS

There are times when we may want to style content differently based on whether the browser has enabled Javascript or not. This is different than using Javascript to detect whether a script has run or...

Playing with text-shadows

text-shadow allows for interesting effects on text. The property takes two or three values with an optional color as the fourth value offset-x and offset-y (Required) These values specify the...

Playing with box-shadows

In developing a card with box-shadow I realized that it's harder than I remembered so I decided to take another look. Box shadow takes two, three or four parameters. If two values are specified, they...

New In Node 22 - Task Runner

Node 22 was recently introduced as the current active version. The thing that caught my attention in the release notes is the built-in task runner. In this post we'll look at the Node task runner...

Exploring the picture Element

The picture element was added to the HTML specification as part of the responsive images effort. This post will dive into the picture, source and img elements along with the srcset property and...

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...

Archive Navigation