CSS-Trickz! also ready to join Digital Ocean

You probably want CSS-Tricks

Is it Time to Un-Sass?

Written by: Jeff Bridgforth

Many of the Sass features we’ve grown to love have made their way into native CSS in some shape or form. So, should we still use Sass? This is how developer Jeff Bridgforth is thinking about it.

Continue reading "Is it Time to Un-Sass?" at CSS-Tricks

The “Most Hated” CSS Feature: cos() and sin()

Written by: Juan Diego Rodríguez

I want to look at practical uses for CSS trigonometric functions. And we’ll start with what may be the most popular functions of the “worst” feature: sin() and cos().

Continue reading "The “Most Hated” CSS Feature: cos() and sin()" at CSS-Tricks

What Can We Actually Do With corner-shape?

Written by: Daniel Schwarz

When I first started messing around with code, rounded corners required five background images or an image sprite likely created […]

Continue reading "What Can We Actually Do With corner-shape?" at CSS-Tricks

Compiling Multiple CSS Files into One

Written by: Geoff Graham

Stu Robson outlines two ways to compile multiple CSS files when you aren’t relying on Sass for it.

Continue reading "Compiling Multiple CSS Files into One" at CSS-Tricks

What’re Your Top 4 CSS Properties?

Written by: Geoff Graham

Everyone has a different opinion which is great because it demonstrates the messy, non-linear craft that is thinking like a front-end developer.

Continue reading "What’re Your Top 4 CSS Properties?" at CSS-Tricks

Composition in CSS

Written by: Zell Liew

CSS is a composable language by nature. This composition nature is already built into the cascade. We simply don’t talk about composition as a Big Thing because it’s the nature of the language.

Continue reading "Composition in CSS" at CSS-Tricks

What You Need to Know About CSS Color Interpolation

Written by: Sunkanmi Fafowora

Color what? Sunkanmi Fafowora explains how an everyday task for CSS can be used to create better colors experiences.

Continue reading "What You Need to Know About CSS Color Interpolation" at CSS-Tricks

Quick Hit #58

Written by: Geoff Graham

The Web Accessibility Initiative (WAI) group has published a working draft of the hugely anticipated WCAG 3.0, and is seeking […]

Continue reading "Quick Hit #58" at CSS-Tricks

Quick Hit #57

Written by: Geoff Graham

Safari Techology Preview 227 is out and brings a bunch of stuff, from MathML support and field-sizing, to invoker commands, […]

Continue reading "Quick Hit #57" at CSS-Tricks

Should the CSS light-dark() Function Support More Than Light and Dark Values?

Written by: Sunkanmi Fafowora

The light-dark() function is currently designed to support just two color schemes. Should it support others? Sunkanmi Fafowora says yes and no.

Continue reading "Should the CSS light-dark() Function Support More Than Light and Dark Values?" at CSS-Tricks

CSS Elevator: A Pure CSS State Machine With Floor Navigation

Written by: Christian Sabourin

In this article, author Chris Sabourin walk through how modern CSS features can build a fully functional, interactive elevator that knows where it is, where it’s headed, and how long it’ll take to get there. No JavaScript required.

Continue reading "CSS Elevator: A Pure CSS State Machine With Floor Navigation" at CSS-Tricks

A Radio Button Shopping Cart Trick

Written by: Preethi

Here’s an approach for animating products added to a shopping cart that handles an infinite number of items using a variation of the ol’ Checkbox Hack.

Continue reading "A Radio Button Shopping Cart Trick" at CSS-Tricks