Loading

Paste #pveeyjezn

  1. color-matrix {
  2.   /* Multiply by a large value so that
  3.      even the corners with just 1/4 pixel
  4.      covered get converted to full coverage */
  5.   matrix: matrix3d(9, 0, 0, 0,
  6.                    0, 9, 0, 0,
  7.                    0, 0, 9, 0,
  8.                    0, 0, 0, 9);
  9.   child: container {
  10.     /* Make sure the area is large enough */
  11.     color {
  12.       color: transparent;
  13.       bounds: 0 0 10 10;
  14.     }
  15.  
  16.     color {
  17.       bounds: 1.5 1.5 7 7;
  18.       color: red;
  19.     }
  20.   }
  21. }