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?

Armen Michaeli
  • 8,625
  • 8
  • 58
  • 95
Lester
  • 357
  • 3
  • 16

0 Answers0