私はホバーオーバーしたときに開く基本ポップアップウィンドウを作成しました。しかし、私はそれまでこれを動作させることができませんでした。以下は、私が作成しようとしているポップアップウィンドウの5つの部分の1つです。:ホバー機能がポップアップを開けません
#youtube-popup {
display: none;
}
#youtube:hover + #youtube-popup {
display: inline;
}
<div class="messagepop pop">
<div id="youtube-popup">
<font size=5><b>Title</b>
<br><font size=2>
Text would go here.
<br><font size=5><b>Title</b>
<br><font size=2>More text would go here.
</font></div>
</div>
<footer>
<div id="footer"></div>
<div class="container">
<div class="row">
<div class="col-lg-10 col-lg-offset-1 text-center">
<br>
<ul class="list-inline">
<div class="hover">
<img href="" id="youtube" src="https://www.youtube.com/yt/brand/media/image/YouTube-icon-dark.png" width="10%" height="10%" padding="1px 1px 1px 1px"></div>
</li>
</div>
</li>
</ul>
</div>
</div>
</div>
誰がどのようにホバーすると、テキストはアイコンの隣に表示される、この作業を取得する方法を教えてもらえますか?
また、別のアイコンが表示されるまでテキストを残すことはできますか?
おかげ