[Compass Core] +opaque and +transparent mixins for convenience. Built on top of the opacity mixin.
This commit is contained in:
parent
4abb59e98a
commit
74141399af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user