JSFiddle - React, Tailwind, and code Playground
HTML
<div class='conjunto'>
<div></div>
<div></div>
<div></div>
</div>
CSS
.conjunto div:nth-child(1) {
background: -webkit-linear-gradient(green, yellow, blue); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(green, yellow, blue); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(green, yellow, blue); /* For Firefox 3.6 to 15 */
background: linear-gradient(green, yellow, blue); /* Standard syntax */
}
.conjunto div:nth-child(2) {
background: -webkit-linear-gradient(left, green, yellow, blue); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(right, green, yellow, blue); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(right, green, yellow, blue); /* For Firefox 3.6 to 15 */
background: linear-gradient(right, green, yellow, blue); /* Standard syntax */
}
.conjunto div:nth-child(3) {
background: -webkit-radial-gradient(green, yellow, blue); /* For Safari 5.1 to 6.0 */
background: -o-radial-gradient(green, yellow, blue); /* For Opera 11.1 to 12.0 */
background: -moz-radial-gradient(green, yellow, blue); /* For Firefox 3.6 to 15 */
background: radial-gradient(green, yellow, blue); /* Standard syntax */
}
.conjunto div {
width: 400px;
height: 200px;
}