JSFiddle - React, Tailwind, and code Playground

by bepul_hossain

HTML

<div class="box">I use the standard box model.</div>
<div class="box alternate">I use the alternate box model.</div>

CSS

.box {
  border: 5px solid rebeccapurple;
  background-color: lightgray;
  padding: 40px;
  margin: 40px;
  width: 300px;
  height: 150px;
}

.alternate {
  box-sizing: border-box;
  width:390px;
}