how to make css gradient background? my resolution 1920x1080 and i try to do gradient…
- User
how to make css gradient background? my resolution 1920x1080 and i try to do gradient with linear gradient method but it make 2 gradients instead of 1 big
- Assistant
To create a CSS gradient background that covers the entire viewport of your screen (1920x1080) without creating two separate gradients, you can use the
linear-gradientfunction in combination with thebackgroundorbackground-imageproperties. Here's a simple way to achieve a seamless gradient across your entire screen: