html - Make div full size of window with NO margin - Stack Overflow

html - Make div full size of window with NO margin - Stack Overflow

4.5
(293)
Write Review
More
$ 13.00
Add to Cart
In stock
Description

I hate to even ask something that seems so dumb but I just dont get this. All I want to do is have a blue div at the top of my window that stretches across the entire window. I thought width:100%;

How to Set CSS Margins and Padding, and Cool Layout Tricks

How to Set 100% Height with Padding/Margin in CSS ? - GeeksforGeeks

10 Most Common Bootstrap Mistakes That Developers Make

Fix mobile viewport 100vh bug in one line of CSS: Dynamic viewport units in action, by Oleksandr Shevchuk

How do I make an element stretch 100% width of the screen in a predefined theme?

How to fill up the rest of screen height using Tailwind CSS ? - GeeksforGeeks

How to make div width expand with its content using CSS ? - GeeksforGeeks

overflow CSS-Tricks - CSS-Tricks

How to use chrome web inspector to view hover code - Stack Overflow