JSFiddle - React, Tailwind, and code Playground
by David Sch
HTML
<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<!--
Bootstrap docs: https://getbootstrap.com/docs
-->
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
<div class="x_wc_my-acc_menu">
<ul>
<li>
<a href="/my-account/">
<i class="fas fa-tachometer-alt"></i>
<span class="x_wc_user_menu">Dashboard</span>
</a>
</li>
<li>
<a href="bookings/">
<i class="fas fa-calendar-alt"></i>
<span class="x_wc_user_menu">Buchungen</span>
</a>
</li>
<li>
<a href="/my-account/orders/">
<i class="fas fa-shopping-cart"></i>
<span class="x_wc_user_menu">Bestellungen</span>
</a>
</li>
<li>
<a href="/my-account/edit-address/">
<i class="fas fa-home"></i>
<span class="x_wc_user_menu">Adressen</span>
</a>
</li>
<li>
<a href="/my-account/payment-methods/">
<i class="fas fa-credit-card"></i>
<span class="x_wc_user_menu">Bezahlmethoden</span>
</a>
</li>
<li>
<a href="/my-account/edit-account/">
<i class="fas fa-address-card"></i>
<span class="x_wc_user_menu">Nutzerkonto</span>
</a>
</li>
</div>
CSS
.row {
background: #f8f9fa;
margin-top: 20px;
}
.col {
border: solid 1px #6c757d;
padding: 10px;
}
ul {list-style-type: none; }
.x_wc_my-acc_menu {
width: 80%;
}
.x_wc_my-acc_menu li {
border: 2px solid;
padding: 5px;
}
li a { display: block; }
span { margin-left: 15px; }