Skip to main content
Dublin Library

The Publishing Project

The Anchor Positioning API

A complementary API to Popovers is the anchor positioning API Where the popover attribute controls the popover behavior, the anchor positioning allows us to control where will the popover...

Responsive Videos ftw

Ever since we've had responsive images we've been able to add media queries to control the conditions that will trigger a match for a specific child element. But we haven't been able to do the same...

What Are Duotones And How They Work

Duotone is a graphic design technique that makes for contrasting graphics that can be combined with text and other CSS effects. This post will look at what are duotone colors and how to create duotone...

What Is Baseline?

If you use web.dev or MDN, you may have seen blocks indicating baseline availability like those in Figures 1 and 2. Baseline message as shown on web.dev Baseline message as it appears on MDN So what...

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

Archive Navigation