🌞

The Ultimate CSS Showcase

From pixels to perfection - explore the magnificent world of CSS with interactive examples and clean code.

Fundamentals

Master the building blocks of brilliant web design

📝

Basic CSS

Selectors, properties, and the cascade - where it all begins

Explore basics
📦

Box Model

Understanding padding, borders, and margins like a proper developer

Master the box
🔤

Typography

Beautiful type that would make even The Times jealous

Style your text

About This Showcase

Welcome to my CSS playground! I'm Thomas Butler, and I created this showcase whilst learning the ins and outs of CSS. What started as a learning journey has evolved into a comprehensive demonstration of CSS's incredible capabilities.

Every example here is crafted with care, using clean, semantic HTML and modern CSS techniques. No frameworks, no libraries, just pure CSS magic that works brilliantly across all modern browsers.

Whether you're a fellow developer looking for inspiration or someone curious about what CSS can do, I hope you find something here that sparks your creativity. Feel free to view source, inspect elements, and use any techniques you find useful in your own projects.

Layout Mastery

Modern techniques for pixel-perfect positioning

🏗️

Flexbox

Flexible layouts that bend but never break

Get flexible
🎯

CSS Grid

Two-dimensional layouts with surgical precision

Join the grid
📱

Responsive Design

Brilliant on every device, from mobile to cinema display

Go responsive

Visual Effects

Eye candy that performs as good as it looks

🎨

Gradients

Smooth colour transitions that would make a rainbow jealous

Blend colours

Transitions

Silky smooth state changes that delight users

Add motion
🎬

Animations

Keyframe magic that brings your designs to life

Start animating

Components

Production-ready elements for real-world projects

🔘

Buttons

Click-worthy buttons that beg to be pressed

Press buttons
📋

Forms

Input fields that are actually pleasant to use

Style forms
📊

Tables

Data presentation that's both functional and beautiful

Organise data
🖼️

Cards

Versatile containers for any type of content

Deal cards

Pure CSS Icons

No fonts needed - icons made entirely with CSS

View icons
🔮

Filters & Effects

Instagram-worthy effects with pure CSS

Apply filters

Advanced Techniques

Push CSS to its absolute limits

🎭

Custom Properties

CSS variables that make theming a doddle

Get variable
🌊

Blend Modes

Photoshop-style effects without leaving CSS

Start blending
✂️

Shapes & Clips

Break free from rectangular tyranny

Shape up

Modern CSS (2024-2025)

The latest and greatest CSS features that are changing the game

🎯

:has() Selector

The parent selector we've all been waiting for!

Has it all
📦

Container Queries

Responsive components based on container size

Get responsive
🪆

CSS Nesting

Native nesting without preprocessors

Nest away

Anchor Positioning

Position elements relative to others easily

Drop anchor
🎢

Scroll Animations

Scroll-driven animations without JavaScript

Start scrolling
🎨

New Colour Spaces

OKLCH, LAB, and more vibrant colours

Expand palette