[Compass Core] +opaque and +transparent mixins for convenience. Built on top of the opacity mixin.

This commit is contained in:
Chris Eppstein 2009-07-17 20:07:54 -07:00
parent 4abb59e98a
commit 74141399af

View File

@ -1,5 +1,8 @@
// expects a number from 0 to 1
=opacity(!opacity = 1)
//**
Provides cross-browser css opacity.
@param !opacity
A number between 0 and 1, where 0 is transparent and 1 is opaque.
=opacity(!opacity)
:opacity= !opacity
:-moz-opacity= !opacity
:-khtml-opacity= !opacity