10 Apr 2021  Meta Code

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 Sun, 09 May 2021 20:55:38 -0400

1MB Club Badge