JSFiddle - React, Tailwind, and code Playground

by 3rror404

HTML

<div class="item">
        <ul>
            <li>Item 1</li>
            <li>Item 2</li>
            <li>Item 3</li>
            <li>Item 4</li>
        </ul>
    </div>

CSS

body {
    color: #648;
}
.item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

* {
} 
.item {
    padding: 20px;
    width: 70%;
    /* height: 65px; */
    background-color: blanchedalmond;
    margin: 50px auto;
    border-radius: 10px;
}

.item li {
    margin: 10px;
    border-radius: 10px;
    padding: 20px;
    background-color: aqua;
}
.item ul {
    display: -webkit-flex;  
    -webkit-flex-direction: row;  
    -webkit-justify-content: space-between;
    -webkit-flex-wrap: wrap;
}