Home > Designing, Others > CSS from the Future

CSS from the Future

Zeke Sikelianos:

So. We have variables in CSS now. That’s pretty neat, but it doesn’t get us all the way to CSS heaven. What we really need is a way to write little bits of reusable CSS. These features have long existed in Sass, Less, and Stylus, but there’s no way to do it in regular CSS.

There’s plans for adding a new spec for what’s currently being called the @apply rule. It looks like a Sass mixin, but it’s really more like extending a placeholder selector, but because it’s native, without the selector insanity that extend can cause.

Blink is already shipping it behind a runtime flag.

Direct Link to ArticlePermalink


CSS from the Future is a post from CSS-Tricks

Categories: Designing, Others Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.