JSFiddle - React, Tailwind, and code Playground

by magizter

HTML

<div id="wood"></div>

CSS

#wood1 { 
background-image: linear-gradient(bottom, #8F676E 19%, #C98888 23%, #8F7171 72%);
background-image: -o-linear-gradient(bottom, #8F676E 19%, #C98888 23%, #8F7171 72%);
background-image: -moz-linear-gradient(bottom, #8F676E 19%, #C98888 23%, #8F7171 72%);
background-image: -webkit-linear-gradient(bottom, #8F676E 19%, #C98888 23%, #8F7171 72%);
background-image: -ms-linear-gradient(bottom, #8F676E 19%, #C98888 23%, #8F7171 72%);

background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.19, #8F676E),
    color-stop(0.23, #C98888),
    color-stop(0.72, #8F7171)
);
    
    
    
width:30px;height:30px;
margin:0 2px 2px 0;
padding:0;
display:inline-block;
border:3px double #bbb;   
}

#wood2 { 
background: #f0b7a1; /* Old browsers */
background: -moz-linear-gradient(top, #f0b7a1 0%, #8c3310 12%, #bf6e4e 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0b7a1), color-stop(12%,#8c3310), color-stop(100%,#bf6e4e)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #f0b7a1 0%,#8c3310 12%,#bf6e4e 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #f0b7a1 0%,#8c3310 12%,#bf6e4e 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #f0b7a1 0%,#8c3310 12%,#bf6e4e 100%); /* IE10+ */
background: linear-gradient(to bottom, #f0b7a1 0%,#8c3310 12%,#bf6e4e 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0b7a1', endColorstr='#bf6e4e',GradientType=0 ); /* IE6-9 */


width:30px;height:30px;
margin:0 2px 2px 0;
padding:0;
display:inline-block;
border:3px double #bbb;   
}