JSFiddle - React, Tailwind, and code Playground
by Enriki
HTML
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<div class="header">
<span class="new-year">С новым годом!</span>
<h2 class="ribbon">
<span class="ribbon-content">Основные разделы</span>
</h2>
<ul class="lightrope">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<hr class="se-tags-border" />
<table class="se-tags-table">
<tr>
<td class="se-tags-container" border="5">
<a href="/se/res/69791.html" class="se-tags-link">Методичка</a>
<a href="/se/res/70374.html" class="se-tags-link">Тульпотаверна</a>
<a href="/se/res/48346.html" class="se-tags-link">Обучение новому</a>
<a href="/se/res/27846.html" class="se-tags-link">Аскетизм</a>
<a href="/se/res/27846.html" class="se-tags-link">Кафедра /se/</a>
<a href="/se/res/27846.html" class="se-tags-link">Мнемотехники и память</a>
<a href="/se/res/27846.html" class="se-tags-link">Прокрастинация</a>
</td>
<td class="se-tags-container" border="5">
<a href="/se/res/27846.html" class="se-tags-link">Самосовершенствование</a>
<a href="/se/res/27846.html" class="se-tags-link">Медитация</a>
<a href="/se/res/27846.html" class="se-tags-link">Минимализм</a>
<a href="/se/res/27846.html" class="se-tags-link">Таблетки и стимуляторы</a>
<a href="/se/res/27846.html" class="se-tags-link">Скорочтение</a>
<a href="/se/res/27846.html" class="se-tags-link">Математика</a>
</td>
<td class="se-tags-container" border="5">
<a href="/se/res/27846.html" class="se-tags-link">Энкратия</a>
<a href="/se/res/27846.html" class="se-tags-link">Слепая печать</a>
<a href="/se/res/27846.html" class="se-tags-link">Манипулирование людьми</a>
<a href="/se/res/27846.html" class="se-tags-link">Гигиена</a>
<a href="/se/res/27846.html" class="se-tags-link">Нофап</a>
<a...
CSS
.se-tags-border {
clear: both;
border: none;
border-top: 1px solid #DDD;
height: 0;
margin: 15px 0
}
.ribbon {
font-family: 'Open Sans';
font-size: 20px;
text-transform: uppercase;
position: relative;
background: #68b768;
color: #fff;
text-align: center;
padding: 0.5em;
margin: 1em auto 2em;
width: 80%;
}
.ribbon:before,
.ribbon:after {
content: "";
position: absolute;
display: block;
bottom: -1em;
border: 1.5em solid #6ba46b;
z-index: -1;
}
.ribbon:before {
left: -2em;
border-right-width: 1.5em;
border-left-color: transparent;
}
.ribbon:after {
right: -2em;
border-left-width: 1.5em;
border-right-color: transparent;
}
.ribbon .ribbon-content:before,
.ribbon .ribbon-content:after {
content: "";
position: absolute;
display: block;
border-style: solid;
border-color: #578753 transparent transparent transparent;
bottom: -1em;
}
.ribbon .ribbon-content:before {
left: 0;
border-width: 1em 0 0 1em;
}
.ribbon .ribbon-content:after {
right: 0;
border-width: 1em 1em 0 0;
}
.se-tags-table,
.quote {
font-family: 'Open Sans';
}
.se-tags-table {
width: 100%;
}
.se-tags-container {
vertical-align: top;
}
.se-tags-link {
z-index: 1;
color: #eee;
text-decoration: none;
background: #7cc576;
padding: 7px 20px;
margin-bottom: 5px;
text-transform: uppercase;
font-family: 'Open Sans';
font-size: 14px;
font-weight: bold;
letter-spacing: 2px;
transition: all .3s ease;
position: relative;
display: block;
float: left;
clear: left;
}
.se-tags-link:hover {
opacity: 0.8;
color: #fff
}
.se-tags-link:hover:before {
left: 0;
width: 55%;
}
.se-tags-link:before {
content: '';
position: absolute;
background: #68b768;
z-index: -1;
width: 0;
height: 100%;
left: 0;
top: 0;
border-right: 2px solid #8fcc7f;
transition: all .5s ease;
}
.se-tags-link:after {
content: '';
position: absolute;
background: #68b768;
z-index: -1;
width: 45%;
...