Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I just want an image as background and linear-gradient also on .dvNav class. Commented Jul 5, 2022 at 8:01
  • Try to give linear gradient and bg to background-image key .dvNav { flex-direction: column; display: flex; padding: 0.5rem 1rem 0 1rem; background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(117, 19, 93, 0.73)), url('/images/amey.png'); color: var(--white-color); height: 100vh; } Commented Jul 5, 2022 at 8:06
  • this worked but i got background white. I want transparent backgorund image Commented Jul 5, 2022 at 9:57
  • Give opacity too Commented Jul 5, 2022 at 10:14