跳到主要内容

semi-transparent-cover

Cover content with a semi-transparent rectangle matching the page background color.

Example: config-methods(cover: utils.semi-transparent-cover)

Parameters

alpha : ratio    default: 85%​

The opacity of the covering rectangle (higher means more opaque/more hidden). Default is 85%.

body : content​

The content to cover.

Returns: content