JSFiddle - React, Tailwind, and code Playground
by psycketom
HTML
<script src="http://semantic-ui.com/build/packaged/javascript/semantic.js"></script>
<link rel="stylesheet" href="http://semantic-ui.com/build/packaged/css/semantic.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/noisy/1.1.1/jquery.noisy.min.js"></script>
<div class="ui red segment">
<h4 class="ui header red">Current:</h4>
<header class="ui top attached small header">Top</header>
<article class="ui attached segment">
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit.</p>
</article>
<figure class="ui attached blue message">Lorem ipsum.</figure>
<footer class="ui bottom attached red message">Dolor sit amet.</footer>
</div>
<div class="ui red segment">
<h4 class="ui header red">Current alternative:</h4>
<header class="ui top attached small header">Top</header>
<figure class="ui attached yellow message">Consectetur adipiscing.</figure>
<article class="ui attached segment">
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit.</p>
</article>
<figure class="ui attached blue message">Lorem ipsum.</figure>
<footer class="ui bottom attached red message">Dolor sit amet.</footer>
</div>
<div class="ui green segment" id="fix">
<h4 class="ui header green">Fixed:</h4>
<header class="ui top attached small header">Top</header>
<article class="ui attached segment">
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit.</p>
</article>
<figure class="ui attached blue message">Lorem ipsum.</figure>
<footer class="ui bottom attached red message">Dolor sit amet.</footer>
</div>
<div class="ui green segment" id="fix">
<h4 class="ui header green">Fixed alternative:</h4>
<header class="ui top attached small header">Top</header>
<figure class="ui attached yellow message">Consectetur adipiscing.</figure>
<article class="ui attached segment">
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit.</p>
</article>
<figure...
CSS
html, body {
height: 100%;
}
html, body {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
#fix .ui.attached + .ui.attached.message:not(.top):not(.bottom) {
margin-top: -1px;
border-radius: 0em;
}