Why is the background gradient wrong at the end of the page if I resize the window?
http://jsfiddle.net/hca6zz20/2/ - the best example of a gradient from red to blue
http://jsfiddle.net/hca6zz20/
html, body { height: 100%; } body { background-image: linear-gradient(#363663, #1b1b32); margin: 0; }
You need to change:
html, body { height: 100%; }
To:
html, body { min-height: 100%; }
Demo
FULLSCREEN DEMO
your white div is overflowing, so you need to change the body from 100% to auto.
html, body { height: auto; }
Source: https://habr.com/ru/post/1608173/More articles:What do you do when you need a high performance collaborative state in Erlang? - erlangGeneralization of the root algorithm of the Babylonian square to the nth roots - c ++Dynamic function call in Go - goHow much memory does closing take? - performanceThe bootloader code sometimes crashes (triple error?) Computer - assemblyHow can I make my vim act like my cat? - bashIs there a reason not to specify variables? - bashHow to configure webpack for express.js application, not respond to the application? - javascriptCreate VCard and send via Twilio - javascriptAre you running a separate Actor system on each host in a distributed system using Akka Cluster? - akkaAll Articles