mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
docs: Add documentation for alpha() in CSS
This commit is contained in:
parent
e2339f5ebd
commit
f33fe5b677
@ -433,6 +433,14 @@
|
||||
* <entry>darker(@color)</entry>
|
||||
* <entry>A darker variant of @color</entry>
|
||||
* </row>
|
||||
* <row>
|
||||
* <entry>alpha(@color, @f)</entry>
|
||||
* <entry>Modifies passed color's alpha by a factor @f. @f is a
|
||||
* floating point number. @f < 1.0 results in a more transparent
|
||||
* color while @f > 1.0 results in a more opaque color.
|
||||
* </entry>
|
||||
* <entry>alhpa(blue, 0.5)</entry>
|
||||
* </row>
|
||||
* </tbody>
|
||||
* </tgroup>
|
||||
* </informaltable>
|
||||
|
Loading…
Reference in New Issue
Block a user