What could be causing the top margin to be slightly (but noticeably) larger than it "should" be?
It could be that you are using margins all over the place and/or not using the Grid css as intended.
I suggest start with the following css and then tweak it as desired
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
#outer {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 2fr 1fr;
gap: 8px;
height: 100px;
border: 2px solid red;
justify-items: center;
align-self: center;
}
#inner {
grid-column: 1 / -1;
grid-row: 1 / -1;
border: 2px solid blue;
justify-items: center;
align-self: center;
padding: 10px;
}
With over 1.2 billion devices now running Windows 10, customer satisfaction is higher than any previous version of windows.