- Use the background image with linear gradient effect.
- Semantic HTML5 markup
- CSS custom properties like linear-gradient etc.
- Flexbox
- Learn how to use Linear gradient .
body {
background-image: linear-gradient(0deg,rgba(1, 1, 15, 0.7),
rgba(1, 1, 15, 0.9)),
url('./assets/pexels-maxyne-barcel-10402282\ 1.png');
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
- With the css bakground-image properties and effect we can apply on it.
- Stackoverflow - This is a free platform where you find the solution of your problem or an idea related to your problem.
- Kapil Kharera
- Linkedin - @kapil-kharera