Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 460 Bytes

opacity.md

File metadata and controls

18 lines (16 loc) · 460 Bytes

This style control the Opacity

Value

with the following property, value range [0, 1]

  • opacity, control all area opacity
  • border-opacity, control border area opacity
  • outline-opacity, control outline area opacity
  • recolor-opacity, control recolor opacity
  • shadow-opacity, control shadow area opacity

Usage

const style = { "opacity": 0.2, "img-opacity": 0.5, "border-opacity": 0.7, "outline-opacity": 0, "recolor-opacity": 1 }