IT技术博客大学习 共学习 共进步
全部 移动开发 后端 数据库 AI 算法 安全 DevOps 前端 设计 开发者

Day for Night

neverland 2026-06-03 09:03:24 累计浏览 91 次
本机暂存

Marcin Wichary:

But there’s a trick [to invert black and white while preserving colors]: do a regular invert and then rotate the hue halfway through. Through the magic of math, this is the same as inverting just L in the HSL space, which means the colors are preserved.

…and, more importantly, [this is] available in CSS as a filter: instead of invert(1), use hue-rotate(180deg) invert(1).

同分类推荐文章

  1. Your Prototype Is Not Being Honest With Your Users (And Here’s How To Fix It) (2026-05-25 20:00:00)
  2. Fixed-Height Cards: More Fragile Than They Look (2026-05-04 22:01:36)
  3. The UX Designer’s Nightmare: When “Production-Ready” Becomes A Design Deliverable (2026-04-22 18:00:00)

查看更多 设计 文章 →

建议继续学习

  1. 十个最容易犯的用户体验错误及规避方案 (累计阅读 79,428)
  2. 50个活力和动感的网页设计-颜色的灵感 (累计阅读 34,363)
  3. 流程管理与用户研究 (累计阅读 16,984)
  4. 30套最好的网站开发与设计中使用的小型图标 (累计阅读 12,465)
  5. sns视觉设计分享 (累计阅读 9,447)
  6. 网站导航设计的6大分类 (累计阅读 9,208)
  7. 精于图片处理的10款jQuery插件 (累计阅读 7,322)
  8. 给想转行做产品经理的同学 (累计阅读 6,865)
  9. 互联网产品经理必读书目 (累计阅读 5,786)
  10. 概念视觉设计 (累计阅读 5,765)