JSFiddle - React, Tailwind, and code Playground
HTML
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<h3 class="se-tags-title">Основные разделы</h3>
<hr/>
<table class="se-tags-table">
<tr>
<td class="se-tags-container" border="5">
<a href="/se/res/69791.html" tip="def" class="se-tags-link">Методичка</a>
<a href="/se/res/70374.html" tip="def" class="se-tags-link">Тульпотаверна</a>
<a href="/se/res/48346.html" tip="blue" class="se-tags-link">Обучение новому</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Аскетизм</a>
<a href="/se/res/27846.html" tip="green" class="se-tags-link">Кафедра /se/</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Мнемотехники и память</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Прокрастинация</a>
</td>
<td class="se-tags-container" border="5">
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Самосовершенствование</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Медитация</a>
<a href="/se/res/27846.html" tip="red" class="se-tags-link">Минимализм</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Таблетки и стимуляторы</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Скорочтение</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Математика</a>
</td>
<td class="se-tags-container" border="5">
<a href="/se/res/27846.html" tip="blue" class="se-tags-link">Энкратия</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Слепая печать</a>
<a href="/se/res/27846.html" tip="green" class="se-tags-link">Манипулирование людьми</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Гигиена</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Нофап</a>
<a href="/se/res/27846.html" tip="def" class="se-tags-link">Антивылезаторство и саморазрушение</a>
</td>
</tr>
</table>
<br/>
<span class="quote">“Когда человек начинает войну с...
CSS
hr {
clear: both;
border: none;
border-top: 1px solid #DDD;
height: 0;
}
.se-tags-title, .se-tags-table, .quote {
font-family: 'Open Sans';
}
.se-tags-title {
color: #8ccb5e;
text-transform: uppercase;
margin: 0;
text-align: center;
}
.se-tags-table {
width: 100%;
}
.se-tags-container {
vertical-align: top;
}
.se-tags-link[tip]{
color: #34495e;
text-decoration: none;
background: #ddd;
padding: 5px 15px;
margin-bottom: 5px;
text-transform: uppercase;
font-size: 14px;
font-weight: bold;
position: relative;
display: block;
float: left;
clear: left;
}
.se-tags-link[tip="red"] {
color: #bb0000;
}
.se-tags-link[tip="blue"] {
color: #3333ff;
}
.se-tags-link[tip="green"] {
color: #00aa00;
}
.se-tags-link:after {
position: absolute;
content: '';
border: .7em solid transparent;
left: -0.5em;
top: 50%;
margin-top: -.7em;
}
.se-tags-link:hover {
background: #eee;
}
.se-tags-link:hover:after {
left: 0em;
border-left-color: #8ccb5e;
}
.quote {
display: block;
float: right;
text-align: right;
border: dotted #666 1px;
border-left:solid #8ccb5e 5px;
padding: 10px 15px;
color: #333;
font-style:italic;
font-size:13px;
background:#fcfcfc;
}