box-shadow-spread-radii-ref.yaml (614B)
1 # This emulates the result of box-shadow-spread.yaml without with a spread 2 # amount of 0 compensated by manually inflating and offsetting the rectangle 3 # and border radii. 4 --- 5 root: 6 items: 7 - type: stacking-context 8 bounds: [0, 0, 1000, 1000] 9 items: 10 - type: box-shadow 11 bounds: [ 0, 0, 280, 280 ] 12 color: blue 13 clip-mode: outset 14 offset: 300 20 15 blur-radius: 4 16 spread-radius: 0 17 border-radius: 18 top-left: [0, 0] 19 top-right: [140, 140] 20 bottom-left: [140, 140] 21 bottom-right: [0, 0]