Skip to content
项目

关于

CSS3 (image-less) Glowing Login Form (inspired by Dragon Labs)

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Glowform CSS3 Image-less Glowing Form Tech Demo

Demo (*requires Modern Webkit browser)

I thought Dragon Labs' Dragonfish Login Form Demo (http://labs.dragoninteractive.com/panel/demo/) was really neat. They implement the effect by using a rather large background image and a mask image and move the background image around via Javascript.

I wanted to see how close I could get with only CSS3 (and a little bit of helper JS).

This is the First Iteration

Checkout the demo (*Modern Webkit browser required). Though you can see an alternate implementation if you use Firefox 4, and non-animated mode in <4Firefox) [Not tested in IE]

The Implementation

TODO Writeup inset shadow mask technique, and more in-depth impl. info.

On Webkit browsers - I got pretty close, with color transitions and keyframes and using a background gradient animation to simulate the "highlight" textures.

Firefox doesn't support keyframes for the color transitions, so I implemented a used fallback animation with simulated color transitions. IMO the fallback animation on Firefox 4 doesn't look too bad either - with older Firefox's falling back to non-animated glow mode.

TODOs

More variation in highlight and color angles

Dogfish has a much better variation of colors and highlight textures thank to the use of images.

Better browser support for animations

You could probably hack around Firfeox's lack of keyframe support via color transitions and classes.

###IE Support????

探索相关项目

加载中…