0

Why can't I see the top and right corners of the div element in the example below:

.test {
  height: 100%;
  width: 100%;
  display: flex;
  position: fixed;
  border: 2px solid #ccc;
}
<div class="test"></div>

For some reason the border is only showing up on the top and left sides. Why is it so and how to fix it?

amn
  • 7,742
  • 8
  • 54
  • 82
Lester
  • 325
  • 1
  • 10

0 Answers0