Basic CSS
Selectors, properties, and the cascade - where it all begins
Explore basicsFrom pixels to perfection - explore the magnificent world of CSS with interactive examples, clean code, and a dash of British charm.
Master the building blocks of brilliant web design
Selectors, properties, and the cascade - where it all begins
Explore basicsUnderstanding padding, borders, and margins like a proper developer
Master the boxBeautiful type that would make even The Times jealous
Style your textModern techniques for pixel-perfect positioning
Flexible layouts that bend but never break
Get flexibleTwo-dimensional layouts with surgical precision
Join the gridBrilliant on every device, from mobile to cinema display
Go responsiveThe future of component-based responsive design
Contain yourselfEye candy that performs as good as it looks
Smooth colour transitions that would make a rainbow jealous
Blend coloursSilky smooth state changes that delight users
Add motionKeyframe magic that brings your designs to life
Start animatingInstagram-worthy effects with pure CSS
Apply filtersProduction-ready elements for real-world projects
Click-worthy buttons that beg to be pressed
Press buttonsInput fields that are actually pleasant to use
Style formsData presentation that's both functional and beautiful
Organise dataVersatile containers for any type of content
Deal cardsNo fonts needed - icons made entirely with CSS
View iconsPush CSS to its absolute limits
CSS variables that make theming a doddle
Get variablePhotoshop-style effects without leaving CSS
Start blendingBreak free from rectangular tyranny
Shape upAdd depth to your designs with perspective
Go 3DThe latest and greatest CSS features that are changing the game
The parent selector we've all been waiting for!
Has it allResponsive components based on container size
Get responsiveNative nesting without preprocessors
Nest awayPosition elements relative to others easily
Drop anchorScroll-driven animations without JavaScript
Start scrollingOKLCH, LAB, and more vibrant colours
Expand paletteAlign nested grids with parent grids
Align perfectlyLatest CSS news and tutorials
Read moreWelcome 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.