<div class='box1'></div>

<div class='box2'></div>
.box1 {
  height: 100px;
  width: 100px;
  background: white;
}

.box2 {
  height: 102px;
  width: 102px;
  background: linear-gradient(to right, red, orange);
}

html {
  background: lightgray;
}
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.