现代 CSS 解决旧 CSS 问题

Avatar of Chris Coyier
Chris Coyier

DigitalOcean 为您旅程的每个阶段提供云产品。立即开始使用 200 美元的免费额度!

这是一个非常棒的系列,由 Stephanie Eckles 创作。见证 CSS 发展并以清晰优雅的方式解决问题,真是令人欣慰。

就在今天,我在 2013 年 StackOverflow 的一个答案中偶然发现了一个关于 CSS 的小吐槽。

Typical CSS. They provide CSS animations so it's not done in Javascript, and the styling is all in one place, but then if you want to do anything more than the bare basics then you have to implement a maze of hacks. Why don't they just implement things that make it easier for developers? – Jonathan. Aug 23 '13 at 13:52

这个特别的吐槽是关于 CSS 缺乏在 @keyframe 动画之间暂停的方法,这仍然是 CSS 在没有 技巧 的情况下无法做到的。除了含糊不清且可以忽略的“CSS 很糟糕”的言论外,我看到这种情况越来越少了。CSS 正在变得越来越好。

直接链接 →