<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
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.