JSFiddle - React, Tailwind, and code Playground
HTML
<div class="view-back">
<ul>
<li>
<span class="info-container">
<a href="" class="info">test test test </a>
</span>
<div class="work-info">
<ul>
<li>Пункт 1</li>
<li>Пункт 2</li>
<li>Пункт 3</li>
<li>Пункт 4</li>
<li>Пункт 5</li>
<li>Пункт 6</li>
<li>Пункт 7</li>
<li>Пункт 8</li>
<li>Пункт 9</li>
</ul>
</div>
</li>
</ul>
</div>
CSS
.view-back ul, .view-back ul li {
margin: 0;
padding: 0;
}
.work-info {
width: 420px;
height: 220px;
background: #fff;
position: absolute;
bottom: -210px;
z-index: 0;
border-radius: 0px 0px 10px 10px;
box-sizing: border-box;
padding: 23px;
left: -208px;
display: none;
}
.work-info ul {
margin: 0;
padding: 0;
list-style-position: inside;
font: italic 14px 'Open Sans';
}
JavaScript
$(document).ready(function(){
$(window).resize(function() {
if ($(window).width() > 980) {
$('.info-container a').toggle(function() {
$(this)
.closest('li')
.find('.work-info')
.fadeIn();
return false;
}, function() {
$(this)
.closest('li')
.find('.work-info')
.fadeOut();
return false;
});
}
else {
$('.info-container a').unbind('click');
}
});
});