跳到主要内容

alpha-changing-cover

Cover content with an alpha-changing mechanism.

Example: config-methods(cover: utils.alpha-changing-cover.with(alpha: 25%))

Parameters

alpha : ratio    default: 25%

The opacity to apply to text colors when covered. Default is 25%.

fallback-hide : bool    default: true

Whether to hide the content if it does not contain text. Default is true.

transparentize-table : bool    default: false

Whether to transparentize table content. Default is false.

it : content

The content to cover.

Returns: content