<!DOCTYPE html> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <style> html { scrollbar-width: none; } body { margin: 0px; padding: 0px; } div { width: 100vw; height: 50vh; } </style> <div style="background-color: green;"></div> <div style="background-color: blue;"></div>