JSFiddle - React, Tailwind, and code Playground
HTML
<div></div>
<div></div>
CSS
div:after,
div:before{
box-sizing: border-box;
}
div{
height: 100px;
width: 100px;
border: 10px solid red;
padding: 20px;
}
<div></div>
<div></div>
div:after,
div:before{
box-sizing: border-box;
}
div{
height: 100px;
width: 100px;
border: 10px solid red;
padding: 20px;
}