CSS/Sass 105 posts

Category: CSS/SASS (105 posts)

2025

favicon for site or author

Cooling Down the Servers by Adding a Little Snow

Cool your servers off with some CSS snow as we wire up the snow-fall web component in a self hosted Eleventy setup, complete with color, count, and reduced motion tweaks.

By Kyle Reddoch (4 posts)

11tyCMS: Major accessibility improvements, CSS and editor tweaks, a new welcome wizard and better site support

Finally, our 11th post! Appropriately enough, its a special one. This update has been developing on the last one's legacy: getting 11tyCMS ready for early

By 11tyCMS (11 posts)

favicon for site or author

Using esbuild in Eleventy

The personal website of Dan Cฤƒtฤƒlin Burzo.

By Dan Cฤƒtฤƒlin Burzo (6 posts)

favicon for site or author

Font Subsetting in Eleventy

eleventy-plugin-font-subsetting works fine but its configuration is finicky.

By Shiv J.M. (13 posts)

favicon for site or author

hire.shivjm.in: The Missing Cover Letter

I turned a blog entry into a profile of myself as a developer.

By Shiv J.M. (13 posts)

favicon for site or author

11ty Hacks for Fun and Performance

Alex Russell on browsers, standards, and the process of progress.

By Alex Russell (1 post)

WhileDo

Instead of a How-To, I'll write a "WhileDo" today. This is my attempt to Write Like Ron Jeffries. After I published thisโ€ฆ

By Martin Hรคhnel (14 posts)

Leveling Up Responsive Images with Eleventy Img

Walking through the fixes that led us from stretched screenshots to a lean Eleventy Img pipeline, plus a quick primer on how responsive image markup really works.

By Nicholas Clooney (5 posts)

favicon for site or author

exhibitionism

making a static gallery with 11ty

By tlohde (2 posts)

favicon for site or author

Cache-Busting Assets in Eleventy

Generate a sourcemap and add it to Eleventyโ€™s global data.

By Aleksandr Hovhannisyan (14 posts)

favicon for site or author

Creating proportional, equal-height image rows with CSS, 11ty, and Nunjucks

Hi, Iโ€™m Jeremy. I build things on the web and share what I learn on my blog.

By Jeremy Robert Jones (1 post)

How To Implement Favs In Eleventy

An easy way to implement favs - favorites, likes, kudos or whatever you want to call them - is by using a little bit of HTML,โ€ฆ

By Martin Hรคhnel (14 posts)

favicon for site or author

Journa11ty

A new simple eleventy blog template

By Clayton Errington (19 posts)

favicon for site or author

Generating content driven CSS with Eleventy

Why spend an hour writing CSS when you can spend four hours creating classes on the fly?

By Sami (1 post)

favicon for site or author

How My Terminal Text WebC Component Works_

Thank you for thinking out loud

By John Michael Swartz (1 post)

favicon for site or author

eleventy-plugin-skiplink

This article is about: How and why I created a plugin to automatically create a skiplink for 11ty

By David Moll (2 posts)

favicon for site or author

Use Passthrough File Copy to Add Assets

Learn how to use the Passthrough File Copy feature to add static assets like CSS and JS to the output directory in the Eleventy (11ty) site.

By Danial Zahid (6 posts)

Creating A Navigation Menu For the Eleventy Base Blog

Just a quick note on the fact that this blog now has a custom main navigation that can grow past the five or so items thatโ€ฆ

By Martin Hรคhnel (14 posts)

favicon for site or author

Swapping from Vue to Eleventy

Swapping from Vue to Eleventy | by Bryn Newell

By Bryn Newell (1 post)

favicon for site or author

11ty Markdown External Links Plugin

Setting target _blank and rel noopener noreferrer to external links using markdown-it + 11ty

By equilibriumuk (19 posts)

favicon for site or author

Building a resume website with eleventy

i share how i built a fully customizable resume website with eleventy, complete with seo-friendly features and pdf generation.

By Keith Kurson (3 posts)

favicon for site or author

Set Up a Simple and Reliable Static Site Generator Using 11ty (Eleventy) + Tailwind CSS

https://nodejs.org/en/download https://git-scm.com/downloads Tailwind CSS will compile Tailwind CSS classes to CSS and Tailwind CLI will allow us to runโ€ฆ

By Abdullah Yahya (1 post)

favicon for site or author

Building a seasonal veg app with Eleventy. Part 2 - Styling

I didn't have a plan on how I wanted to style this app before starting this. I didn't want to outright copy seasonal.today's, even though I really liked ...

By Yasmin (5 posts)

Categories
favicon for site or author

The Speed Trifecta: 11ty, Brotli 11, and CSS Fingerprinting

In this post I bring two previous blog posts together to create the perfect CSS setup for my little blog.

By Matt Hobbs (7 posts)

Rewriting My Astro Blog with Eleventy

hi there! please enjoy my blog of things i think are interesting

By Melanie Kat (2 posts)

favicon for site or author

Using an 11ty Shortcode to craft a custom CSS pipeline

In this blog post, I'll show you how I've written an 11ty Shortcode to manipulate my CSS file, thus allowing for optimal long-life cache-control response headers. Any feedback on this build process would be greatly appreciated.

By Matt Hobbs (7 posts)

favicon for site or author

WP.SCSS

Increasingly I've been including 11ty in my WordPress builds as part of the theme. Great for static assets, such as

By Rich Holman (2 posts)

2024

favicon for site or author

11ty Fix Inline Styles Livereload

Fixing inline styles in 11ty devmode using a workaround

By equilibriumuk (19 posts)

Categories
favicon for site or author

Open Graph Metadata and Images in Eleventy Made Easy

Blog posts are meant to be shared. When sharing links, youโ€™ll often see a preview on social media and instant messengers. But how does it work and how can you do it with Eleventy?

By Sebin Nyshkim (3 posts)

favicon for site or author

Responsive, Self-hosted Images for Your Eleventy Blog

While you can certainly host your image files with the Git repo your Eleventy site is checked into, or add them manually after building it, neither option is ideal if you want responsive images in multiple formats to save precious bandwidth.

By Sebin Nyshkim (3 posts)

favicon for site or author

Building a Blog with Eleventy

I recently felt like getting back into blogging. But setting up and maintaining WordPress felt like more than I was looking for. I was looking for something much simpler. Preferably file-based and with Markdown support. That was my introduction to Eleventy.

By Sebin Nyshkim (3 posts)

favicon for site or author

Newspaper style layout for my content

Simon Cox experiments with a newspaper-style layout using CSS columns, grayscale filters, and a custom design to replicate the feel of vintage newsprint.

By Simon Cox (16 posts)

Categories
favicon for site or author

Eleventy - Zero JS charts

It'd be cool to be able to sprinkle in some charts to your website easily. And without a lick of client-side JavaScript.

By Rob O'Leary (13 posts)

favicon for site or author

Aboard the Eleventy 3.0 Train

My developer portfolio and blog website has been officially upgraded to Eleventy 3.0.

By Helen Chong (7 posts)

favicon for site or author

Highlighting the Active Navigation Link in Eleventy Using Templates, Shortcodes, and the Page Object

Using templates, shortcodes, and the Eleventy supplied data for highlighting the current page in navigation

By nonnullish (3 posts)

favicon for site or author

Organizing NPM Build Scripts

I recently took an existing codebase and ported it over to Eleventy. The main purpose was to recreate the website with existing markdown files and CSS. Creating the collections and templates was the bulk of the work, but I also needed the CSS to work.

By Trevor Morris (8 posts)

favicon for site or author

Upgrading to Eleventy v3

I took some time this week to upgrade my site to the newest version of Eleventy. Here's what I learned.

By Alex Zappa (2 posts)

favicon for site or author

Readable HTML and CSS

Instead of minifying HTML and CSS, I make it easy to read.

By Shiv J.M. (13 posts)

favicon for site or author

Get image pixel colours in Eleventy/Node

How to get colour information from images at build time when using Eleventy (or Node more generally).

By Sam Smith (1 post)

favicon for site or author

Create an Interactive TOC from Markdown-Generated Content

Create an interactive TOC for Markdown in Static Site Generators using the Intersection Observer API.

By Jonathan Lau (2 posts)

favicon for site or author

Version 3

I'll show you the true power of being third!

By Devin Haska (2 posts)

favicon for site or author

Adding Site Search to Eleventy with pagefind-search

Chris McLeod is a software developer with over 20 years of experience. Sometimes he writes about it.

By Chris McLeod (7 posts)

2023

favicon for site or author

Syntax highlighting code in Eleventy posts

A quick tutorial about how to enable syntax highlighting of code blocks in Eleventy posts

By Martin Gunnarsson (9 posts)

favicon for site or author

More Easily Use Design Tokens in Eleventy

Jan De Wilde, designer and web developer

By Jan De Wilde (2 posts)

Categories
favicon for site or author

Permalink-Driven Breadcrumbs in Eleventy

An approach to add a breadcrumb navigation to your Eleventy site, utilising the permalink structure

By Oscar (3 posts)

favicon for site or author

Making a lighthouse-fast website with a static site generator like 11ty

Creating an SSG flow to generate a highly optimized static website.

By Piotr Maliล„ski (3 posts)

favicon for site or author

Custom language syntax highlighting

Web development blog. The good, bad, and ugly (mostly bad and ugly)

By Joe Sahlsa (4 posts)

Categories
favicon for site or author

Compiling CSS with Eleventy

A list of different options for compiling CSS with Eleventy

By Robb Knight (20 posts)

classnames

Multiline Comment โ€ข The online journal of Ashur Cabrera

By Ashur Cabrera (8 posts)

favicon for site or author

A Future of Themes with CSS Container Style Queries

One way to implement themes on a website with style queries.

By Christopher Kirk-Nielsen (14 posts)

favicon for site or author

Use TailwindCSS with Eleventy Static Site Generator

If you are building a blog with Eleventy and want to add TailwindCSS for styling, then this is the... Tagged with javascript, tailwindcss, css, eleventy.

By Hrishikesh Pathak (1 post)

Categories
favicon for site or author

Generating CSS with PostCSS and eleventy.before

I'm trying to keep the setup of my personal projects as simple as possible. Today, we're looking at how CSS is generated.

By Martin Schneider (7 posts)

favicon for site or author

Postcss 11ty Integration Update

I'm equilibriumuk, a software engineer. I write about programming & computer related topics

By equilibriumuk (19 posts)

favicon for site or author

11ty Postcss Integration Optimized

I'm equilibriumuk, a software engineer. I write about programming & computer related topics

By equilibriumuk (19 posts)

favicon for site or author

Integrating Tailwindcss With Eleventy

I'm equilibriumuk, a software engineer. I write about programming & computer related topics

By equilibriumuk (19 posts)

favicon for site or author

11ty Fixing Livereload Client For Inline Styles

I'm equilibriumuk, a software engineer. I write about programming & computer related topics

By equilibriumuk (19 posts)

Categories
favicon for site or author

Fast and Easy CSS Revisioning

MooseDog Studios - Where Convention Takes A Back Seat To Quality

By Robin Hoover (4 posts)

Categories
favicon for site or author

CSS workflow and cache busters in 11ty

How I build/watch CSS with cache busters in 11ty.

By John Brooks (4 posts)

favicon for site or author

CloudCannon

CloudCannon.com officially switched our website over to build with Eleventy, and the results with this static site generator have been amazing.

By David Large (4 posts)

favicon for site or author

The evolution of my CSS pipeline in Eleventy (part 2)

Evolution is a continuous phenomenon.

By Bob Monsour (20 posts)

Categories
favicon for site or author

The evolution of my CSS pipeline in Eleventy (part 1)

Handling CSS in Eleventy has been an evolutionary experience.

By Bob Monsour (20 posts)

Categories
favicon for site or author

Sass in Eleventy, with versioning

Adding support for code.scss/code files, complete with content hashes.

By Dan Cฤƒtฤƒlin Burzo (6 posts)

Categories
favicon for site or author

Process CSS or Sass With LightningCSS

Use these plugins or code snippets to make CSS a first-class templating language in Eleventy and add processing with LightningCSS and/or Sass.

By Stephanie Eckles (21 posts)

Categories
favicon for site or author

Extracting and using Critical CSS on my Eleventy site

This week I made some enhancements to extracting and implementing Critical CSS on my website that runs on Eleventy. Let's delve into its workings and features.

By Silvestar Bistroviฤ‡ (3 posts)

Categories
favicon for site or author

Components with Nunjucks and 11ty

We are going to be go through the first steps to get up and running with 11ty. Building a 11ty site from scratch will help you keep your site lightweight, scalable and easy to manage.

By Jeremy Faucher (8 posts)

favicon for site or author

Static Mastodon toots in Eleventy: the Tailwind CSS edition

For users of my favorite JS-based SSG, hereโ€™s an Eleventy version of the Tailwind-based toots-embedding shortcode I offered yesterday.

By Bryce Wray (26 posts)

Categories

2022

favicon for site or author

CSS and JavaScript asย first-class citizens inย Eleventy

When building websites on Eleventy, we often have to decide how to deal with the CSS and JavaScript post-processing. Recently I came up with a solution, finally making CSS and JS first-class citizens in Eleventy for me.

By Vadim Makeev (1 post)

Categories
favicon for site or author

Eleventy, Markdown, and Tailwind CSS

English software developer based in Seattle.

By Matthew Tole (1 post)

favicon for site or author

Cache-busting in Eleventy, take two

This time, a solution that really (?) works.

By Bryce Wray (26 posts)

Categories
favicon for site or author

Getting Tailwind to work with Eleventy

Tackling Tailwind to work with Eleventy.

By Sami Mรครคttรค (6 posts)

favicon for site or author

Build a Blog With 11ty: Setup - Part 1

We are going to be go through the first steps to get up and running with 11ty. Building a 11ty site from scratch will help you keep your site lightweight, scalable and easy to manage.

By Jeremy Faucher (8 posts)

favicon for site or author

Building blocks for my first Eleventy site

Different choices that go into building an Eleventy website from scratch.

By Sami Mรครคttรค (6 posts)

favicon for site or author

Minimum Static Site Setup with Sass

Use this command line combination for building a static site that includes Browsersync, processing Sass and running the final files through autoprefixer and cssnano.

By Stephanie Eckles (21 posts)

2021

favicon for site or author

Minimal SASS & eleventy Setup

A post about setting up SASS with eleventy without additional tools

By Thomas Semmler (3 posts)

Categories
favicon for site or author

Using PurgeCSS with Bootstrap and Eleventy

Tailwind is rad but have you ever wanted a customized, slim version of Bootstrap? In this tutorial,... Tagged with eleventy, 11ty, bootstrap, purgecss.

By Brewhouse Digital (3 posts)

Categories
favicon for site or author

Layout Templating

Tips for creating Eleventy layouts.

By Stephanie Eckles (21 posts)

Categories
favicon for site or author

Using SASS With Eleventy

Eleventy (11ty) is a super customisable static site generator that at its core transforms template language into HTML. However, template languages liโ€ฆ

By John Kemp-Cruz (1 post)

Categories
favicon for site or author

Tailwind-to-head with Eleventy

This follow-up to an earlier article about Hugo Pipes shows how to get internal CSS in an Eleventy site โ€” and with no build tools required.

By Bryce Wray (26 posts)

Categories
favicon for site or author

Creating a Fast and Beautiful Portfolio Website using HTML, CSS, Eleventy and Netlify

Eleven years ago, in 2010, my personal website was minimal by every means. Relaunching in 2021 using... Tagged with webdev, webperf, eleventy, netlify.

By Ingo Steinke (1 post)

2020

favicon for site or author

Hashing out a cache-busting fix for Eleventy

Some of the code behind my previous post.

By Bryce Wray (26 posts)

Categories
favicon for site or author

Inlining scripts and styles in 11ty

Iโ€™m Kitty Giraudel, a transfeminine web engineer based in Berlin, focused on accessibility and inclusivity.

By Kitty Giraudel (4 posts)

Categories
favicon for site or author

Compile Sass With Eleventy

Wert entsteht, wenn Daten auf Strategie und Kreativitรคt treffen

By Dennis Hendricks (1 post)

Categories
favicon for site or author

Asset Pipelines in Eleventy

This is a clever trick (probably too clever) for setting up Eleventy to manage asset pipelines like SCSS and JavaScript transformations, as well as using hashes in filenames for cache busting.

By Evan Sheehan (8 posts)

favicon for site or author

Using PostCSS for cache-busting in Eleventy

Optimizing how browsers handle your siteโ€™s CSS, and why you should care about that.

By Bryce Wray (26 posts)

Categories
favicon for site or author

Manually splitting CSS files in Eleventy

Don't want to use a bundler? Eleventy makes it easy to manually split your CSS.

By Dana Byerly (8 posts)

Categories
favicon for site or author

An Eleventy Starter with Tailwind CSS and Alpine.js

When I decided to try to base my current personal website on Eleventy, I didn't want to reinvent the wheel: I tested all the Eleventy starters built with

By Greg Wolanski (1 post)

Categories
favicon for site or author

Building and maintaining components from utility classes in Eleventy

Use a collection of utilities to form components without additional CSS.

By Christopher Kirk-Nielsen (14 posts)

Categories
favicon for site or author

Climbing the 11ty Performance leaderboard with Cloudinary, critical CSS and more

A few weeks ago, Zach Leatherman announced that he was going to change the Built with 11ty section 11ty's documentation. He was going to create a performance leaderboard to showcase performant projects using the tool. I wanted my site to break into the top 100!

By Bryan Robinson (15 posts)

Categories
favicon for site or author

How to Include PrismJS CSS Only When Required In Eleventy

How I set up Eleventy to avoid including unnecessary CSS.

By Shiv J.M. (13 posts)

Categories
favicon for site or author

Eleventail - A helper for Taiwindcss

Phil Hawksworth's home on the web. Read his blog, ask questions, and find coverage of his recent conference talks about web development.

By Phil Hawksworth (2 posts)

Categories
Some content below may have been published before the release of Eleventy v3.0.0 (October 1, 2024). Information may have changed in newer versions. Current stable release: 3.12
Some content below may have been published before the release of Eleventy v2.0.0 (Feb 8, 2023). Information may have changed in newer versions. Current stable release: 3.12.
Some content below may have been published before the release of Eleventy v1.0.0 (Jan 8, 2022). Information may have changed in newer versions. Current stable release: 3.12.
All of the content below was published before the release of Eleventy v1.0.0 (Jan 8, 2022). Information may have changed in newer versions. Current stable release: 3.12.