2021-04-10

CSS Background Image Transparency

 10 Apr 2021  Snippets

CSS Background Image Transparency

Background image transparency:

body {
background: black;
}

body::after {
  content: "";
  background: url(YOUR_IMAGE_HERE.jpg);
  opacity: 0.5;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;   
}
Webmentions & Comments

Copyright © Paramdeo Singh. Built with Jekyll and ☕️ in Guyana. All Rights Reserved.

Last Site Build on Thu, 21 Oct 2021 17:49:44 -0400

1MB Club Badge

Paramdeo Singh Guyana

Riding the wave of consciousness in this treacherous mortal sea.

Technology Design Strategy Literature Personal Blogs