JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<body>
<div id="wrapper">
<div>
    <div class="menu">
    <ul><li><a href="#">first</a></li>
        <li><a href="#">second</a>
            <div id="selector"><a href="#">EN</a><a href="#">FR</a></div></li></ul>
    </div>
</div>
</div>

CSS

body {
    background: blue;
}

body>div#wrapper {
    width: 100%;
    overflow: hidden;
    min-width: 200px;
}

body>div#wrapper>div {
    width: 200px;
    margin: 0 auto;
    background: white;
}

.menu {
   	height: 100px;
	overflow: hidden;
	width: 210px;
}

.menu ul,
.menu ul li {
	height: 100px;
	list-style-type: none;
	background: white;
	overflow: visible;
	padding: 0;
	margin: 0;
}

.menu ul {
   	display: table;
	table-layout: auto;
	width: 200px;
}

.menu li {
	display: table-cell;
	float: none;
}

.menu li>a {
	display: block;
	height: 30px;
    border-left: 1px solid red;
	text-align: center;
	padding: 50px 23px 0 23px;
}

#selector {
	position: relative;
	right: -10px;
	height: 10px;
    width: 100%;
    display: table;
    table-layout: auto;
}
#language.hover {
	background: #22546f;
}
#selector a {
	margin: 0;
	padding: 0;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: auto;
	background: green;
}
#selector a:hover {
	background: red;
}