0

On a valid background, I need to add transparent holes/images that shows body background.

Like this websites;

skrill.com skrillex.com I can add it as a image but I should resize it according to resolution. Also I'll add some descriptions under this images.

Is there any way to do this?

bugraarslan
  • 153
  • 2
  • 10

1 Answers1

0

There are three ways to achieve this effect:

  1. Make the solid background a SVG or PNG, with holes cut through to show the underlying background.

  2. Make the transparent images replicate the background.

  3. Implement the background with <canvas> and use JS to achieve this effect by dynamically redrawing the background.

The sites you linked are using one of these approaches.

apscience
  • 7,033
  • 11
  • 55
  • 89