JSFiddle - React, Tailwind, and code Playground

by Hifni Nazeer

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">
<div class="switch-version d-none d-md-block">
  <a class="switch-to-mdb-jquery" href="/docs/jquery/"><span class="switch-to mdb-jquery active" id="jQuery"></span></a>
  <a class="switch-to-mdb-angular" href="/docs/angular/"><span class="switch-to mdb-angular " id="Angular"></span></a>
  <a class="switch-to-mdb-react" href="/docs/react/"><span class="switch-to mdb-react " id="React"></span></a>
  <a class="switch-to-mdb-vue" href="/docs/vue/"><span class="switch-to mdb-vue " id="Vue"></span></a>
  <a class="switch-to-mdb-standard" href="/docs/standard/"><span class="switch-to mdb-standard " id="Standard"></span></a>
</div>

CSS

.switch-version {
    z-index: 1000;
}

.switch-version {
    position: fixed;
    top: 300px;
    right: 0;
    width: 40px;
    background: #fff;
    border-radius: 4px 0 0 4px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)
}

body {
    font-family: "Roboto",sans-serif;
    font-weight: 300;
}