Answers for "How to Change a CSS Background Image’s Opacity"

CSS
0

How to Change a CSS Background Image’s Opacity

.demo-wrap {
  overflow: hidden;
  position: relative;
}

.demo-bg {
  opacity: 0.6;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
}

.demo-content {
  position: relative;
}
Posted by: Guest on September-20-2021

Code answers related to "How to Change a CSS Background Image’s Opacity"

Browse Popular Code Answers by Language