Effeckt.css

This repo is archived. Thanks!

  • 所有者: h5bp/Effeckt.css
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

This repo is archived

Effeckt.css

A Performant Transitions and Animations Library : http://h5bp.github.io/Effeckt.css

Ever notice how small flourishes and subtle transitions dramatically increases the value of the experience you enjoy with an app or site?

Designing and developing UIs for the mobile web is tricky, but it's extremely difficult to do that while delivering something that performs at 60fps. The best opportunities to getting jank-free transitions on phones/tablets are CSS transition and keyframe animation based, especially tapping into hardware-accelerated transforms and opacity changes.

@daneden did really nice work with Animate.css but I think the web would benefit if we could take that work to the next level. There's already been fantastic experiments and demos exploring CSS-based transitions, but it's distributed all over.

Originally started at h5bp/lazyweb-requests#122

Effeckt Trailer

image

Examples To Add

Because there are so many, I expect we could group things by role:

  • button/touch effects
  • state transition
  • modal/notification transition
  • attention attractors

Goals

  1. Provide a minimal UI. Only use style hooks for transitions and animations.
  2. Designer-curated set of classy and reasonable effects. (no easeInBounce)
  3. Establish browser support guidelines (e.g. Android 2.3 would gracefully degrade)
  4. CSS performance regression testing (a la bench.topcoat.io)
  5. Deliver jank-free 60fps performance on target browsers/devices
  6. If a particular effect cannot deliver target performance (hey blur() css filter), it cannot be included.
  7. Guidelines on what to avoid when styling these affected elements (avoid expensive CSS)
  8. Deliver a builder so users can pull only the CSS they need.
  9. There is no hover on the mobile web, so any hover-based effects would be excluded or have a tap-based equivalent.

Action

  • If you know other transition/animation based demos/experiments that make sense to include here, file a ticket.
  • If you're interested in helping to define the API, let's hear it! File a ticket.
  • A web-based builder is a must. A command-line builder isn't important for this.

Getting Started

Code Style Guide

General Inquiries & Support

Bug Reports & Feature Requests

主要指标

概览
名称与所有者h5bp/Effeckt.css
主编程语言CSS
编程语言CSS (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2013-07-02 19:57:06
推送于2019-03-01 16:28:55
最后一次提交2019-03-01 11:28:55
发布数0
用户参与
星数10.9k
关注者数563
派生数1.4k
提交数432
已启用问题?
问题数137
打开的问题数0
拉请求数151
打开的拉请求数0
关闭的拉请求数35
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?