AI 摘要The article explores the new CSS 'corner-shape' property, which enables the creation of beveled corners. The author explains that unlocking its full potential requires surprisingly sophisticated techniques. They demonstrate how they used the property to achieve a retro-sci-fi aesthetic featuring diagonal corners throughout a design.
For many course creators, the Black Friday holiday period is when we offer the biggest discounts of the year, which means it’s a great time to pick up some of the web development courses you’ve had your eye on! This post is a quick round-up
AI 摘要The article discusses the Interop project, an annual collaboration among browser vendors to synchronize their efforts on new HTML, CSS, and JavaScript features. This year, a number of exciting CSS features are being considered, and the blog post explores the future of CSS to offer a glimpse of what developers will soon be able to do.
AI 摘要This article is a tutorial introducing CSS Anchor Positioning, a new feature that solves the long-standing web development challenge of attaching one element to another, such as tooltips and nested menus. The CSS Working Group has provided a first-class solution to this problem, and the author shares the most useful aspects of this modern CSS feature.
AI 摘要This blog post examines whether JavaScript animation libraries incur a performance cost compared to traditional CSS transitions and keyframe animations. The author compares the same animation implemented across several different strategies to demonstrate the differences firsthand, promising some interesting nuances in the results.
The new Animation Timeline API allows us to create dynamic scroll animations without any JavaScript! It’s honestly a very lovely API, and in this blog post, we’ll explore some of the super cool things we can do with it. Keep reading.
Have you ever heard of Disney’s 12 Basic Principles of Animation? In this tutorial, we’ll explore how we can use the very first principle to create SVG micro-interactions that feel way more natural and believable. It’s one of those small th
AI 摘要The article introduces a subtle UI detail on the author's blog that most visitors don't notice, but which appears to defy the rules of CSS and often prompts readers to ask how it works. The author promises to break down the surprisingly straightforward implementation of this header blocker trick so readers can apply it in their own projects.
AI 摘要Spritesheets are a common animation technique in game development but are rarely used on the web today, despite their potential. This article introduces a niche CSS function that makes it possible to leverage the spritesheet technique in web projects. It also explores several potential use cases for sprites on the web.
AI 摘要CSS Subgrid allows developers to extend a grid template down through the DOM tree, enabling deeply-nested elements to participate in the same grid layout. While it may initially seem like a mere convenience, the author argues it is far more powerful, unlocking exciting new layout possibilities that were not achievable before.
AI 摘要The article introduces the 'linear()' timing function in native CSS, which enables developers to model physics-based motion such as springs and bounces in vanilla CSS. The author shares insights from experimenting with this API, including its limitations, quirks, and practical tips for effective use.
CSS has been on fire lately, with tons of great new features. @starting-style is an interesting one; it allows us to use CSS transitions for enter animations, something previously reserved for CSS keyframe animations. But is the juice worth
AI 摘要This tutorial explores a surprising browser limitation when animating an element's background color through the rainbow in CSS. The author explains the underlying issue with how browsers handle color processing. The article then offers a couple of practical strategies to work around this constraint.
AI 摘要This article is an interactive tutorial about SVG's path element, which is the most powerful but also the most cryptic of SVG's drawing primitives due to its compact, Regex-style syntax. The tutorial aims to demystify how this infamous element works and showcase some of the cool things you can create with it.
AI 摘要This tutorial offers a friendly introduction to SVG, described as one of the most remarkable yet underrated technologies on the web. It highlights that SVGs are first-class citizens that can be fully addressed with CSS and JavaScript. The article promises to cover the key fundamentals and demonstrate some of the impressively cool things that can be done with SVG.
CSS Keyframe animations are so much more powerful than most developers realize. In this tutorial, I’ll show you something that completely blew my mind, a technique that makes our keyframe animations so much more reusable and dynamic! 🤯 Keep
AI 摘要The author describes years of confusion over percentage-based heights in CSS, where setting height: 100% would sometimes appear to have no effect at all. Once they finally understood the underlying behavior, everything suddenly made sense, like a puzzle piece snapping into place. In this post, they share that epiphany and explore some solutions to the problem.
AI 摘要The author revisits predictions made when OpenAI released GPT-4 in March 2023, a moment when the prevailing online consensus held that front-end development jobs would be eliminated within a year or two. Now, more than two years later, the author examines those early forecasts to glean insights about where AI and software development are headed.
AI 摘要The author spent the past few weeks packing as many easter eggs as possible into their latest project. In this blog post, they dig into the more interesting details, sharing their favourite secrets and tricks, particularly for those interested in animations and interactions.
AI 摘要The article introduces container queries, a newly and broadly available web capability that expands the range of designs developers can implement. The author shares the 'killer pattern' they keep using in their own work and invites readers to explore the new possibilities this feature unlocks.