For the background, according to the spec, I guess a black background is more suitable to show the fade out effects, maybe we can use { background-image: -moz-linear-gradient(bottom, transparent, black); } for :before and { background-image: -moz-linear-gradient(top, transparent, black); } for :after. @neohsieh can you please comment on this? thanks.