$ot = explode(". ", $description);
if (isset($ot[1])) {
$fu = str_replace($ot[0],"",$description); $toDelete = 1; $fu= mb_substr($fu, $toDelete);
echo '<div class="opisanie"><input type="checkbox" id="hd-1" class="reference"/><label title=" ДАЛЬШЕ... " for="hd-1" > '.$ot[0].'. </label><span class="story"> '.$fu.'</span>'; }else {echo '<div class="opisanie">'.$description.'';};
// echo '<div class="opisanie"> '.$description.'';
echo "<tt> просмотров:$viewCount подписчиков:$subscriberCount загружено:$videoCount</tt>";
echo ' '.$id.' </div><div style="clear: both; "></div>';
}
<style>
.cards { display: flex; flex-wrap: wrap; align-items: stretch; }
.card { flex: 0 0 20%; margin: 0px; border: 0; }
.card .text { padding: 0 2px 2px; }
</style>
<main class="cards">
<article class="card"> <div class="text">
1 cccccccccccccc
</div></article>
<article class="card"> <div class="text">
2 ccccccccccccccccc
</div></article>
</main>
<button type="button" onmouseover="loadDoc2(); this.style.display='none';return false">открыть список каналов</button>
<ul> </ul>
<script> function loadDoc2(){var myList = document.querySelector('ul');fetch('products.json').then(function(response) { return response.json(); })
.then(function(json) { for(var i = 0; i < json.products.length; i++){var listItem = document.createElement('li');
listItem.innerHTML = '<strong>' + json.products[i].Name + '</strong>';
listItem.innerHTML +=' can be found in ' + json.products[i].Location + '.';
listItem.innerHTML +=' Cost: <strong>?' + json.products[i].Price + '</strong>';
myList.appendChild(listItem);
} })};
</script>
button,[role="button"] {cursor: pointer;}
button[aria-pressed="true"],[role="button"][aria-pressed="true"] { background-color: #CAE8CA; transition-property: background-color;transition-duration: 0.4s;}
:active, :hover, :focus { outline: 0; outline-offset: 0;}
button[aria-pressed="true"],[role="button"][aria-pressed="true"]:focus { background-color: rgba(204,204,255, 0.9);}
[role="button"]:active { background-color: #bbb;}
var idVhod = document.getElementById('idVhod'); function onclickVhod() { idVhod.style.display = (idVhod.style.display == 'inline') ? '' : 'inline';
localStorage.setItem('hide', idVhod.style.display);}if(localStorage.getItem('hide') == 'inline') { document.getElementById('idVhod').style.display = 'inline'; setTimeout(onclickVhod, 5700)};
// window.localStorage.clear();
#idVhod {position: fixed; z-index: 100; top: 3em; left: 0.3em; display: none; background-color: rgba(255,255,255,.9); padding: 0 0.6em 0.6em 0.8em;margin: 0.1em; box-shadow: rgba(0, 0, 128, 0.2) 0.3em -0.3em 0.7em;border-radius: 0.2em; }
.Vhod {cursor: pointer; padding: 0 ; display: inline-block; border: 2px solid #efefef; border-radius: 20%;margin: 8px;background-color: rgba(255,255,255,.4);}
.Vhod:hover {opacity: 0.7;}
<span class="Vhod" onclick="onclickVhod()"><img src="24px.svg"> </span> <span id="idVhod"> ggggggggggggggg11111111<span class="Vhod" onclick="onclickVhod()"> x</span><br>
gggggggggggggggggggggg
</span>