JSFiddle - React, Tailwind, and code Playground

HTML

<div class="buttons">
    <ul>
    <mi>
        <span id="en">English</span>
    </li>
    <li>
        <span id="es">Español</span>
    </li>
    <li>
        <span id="de">Deutch</span>
    </li>
    </ul>
</div>
<div id="container">
    <div class="lang lang-en">
        Content EN
    </div>
    <div class="lang lang-es">
        Content ES
    </div>
    <div class="lang lang-de">
       Content DE
    </div>
</div>

CSS

div {
    height:200px;
    width:200px;
    margin:0;
    padding:0;
    position:relative;
    display:block;
}

.lang-en {background:red;}
.lang-es {background:blue;}
.lang-de {background:yellow;}

p {padding:0;margin:0;}

.buttons ul { padding:0; margin:0; }

.buttons ul li { display:inline-block; }

span {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
	-webkit-border-top-left-radius:6px;
	-moz-border-radius-topleft:6px;
	border-top-left-radius:6px;
	-webkit-border-top-right-radius:6px;
	-moz-border-radius-topright:6px;
	border-top-right-radius:6px;
	-webkit-border-bottom-right-radius:6px;
	-moz-border-radius-bottomright:6px;
	border-bottom-right-radius:6px;
	-webkit-border-bottom-left-radius:6px;
	-moz-border-radius-bottomleft:6px;
	border-bottom-left-radius:6px;
text-indent:0;
	border:1px solid #dcdcdc;
	color:#777777;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
height:50px;
	line-height:50px;
width:100px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #ffffff;
    padding:10px;
}
span:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
    cursor:pointer;
}
span:active {
	position:relative;
	top:1px;
}

#container {
    position:relative;
}

div#container > div {
    position:absolute;
}

JavaScript

$('.lang-es, .lang-de').hide();

$('#es').click(function() {
    $('.lang').fadeOut();
    $('.lang-es').fadeIn();
});

$('#en').click(function() {
    $('.lang').fadeOut();
    $('.lang-en').fadeIn();
});

$('#de').click(function() {
    $('.lang').fadeOut();
    $('.lang-de').fadeIn();
});