2017-10-21 6 views

答えて

0

あなたは多分自分のAppStoreからWeeblyのにアプリケーションを追加できますが、あなたもこれを使用する:

<style> 
 
.tooltip { 
 
    position: relative; 
 
    display: inline-block; 
 
    border-bottom: 1px dotted black; 
 
} 
 

 
.tooltip .tooltiptext { 
 
    visibility: hidden; 
 
    width: 120px; 
 
    background-color: black; 
 
    color: #fff; 
 
    text-align: center; 
 
    border-radius: 6px; 
 
    padding: 5px 0; 
 
    position: absolute; 
 
    z-index: 1; 
 
} 
 
.tooltip .tooltiptext { 
 
    width: 120px; 
 
    bottom: 100%; 
 
    left: 50%; 
 
    margin-left: -60px; 
 
} 
 

 
.tooltip:hover .tooltiptext { 
 
    visibility: visible; 
 
} 
 
</style> 
 

 
<center> 
 
<br><br> 
 
<div class="tooltip">Word 
 
    <span class="tooltiptext">More words</span> 
 
</div> 
 
</center>
ちょうど全体をコピーして、「言葉」と「複数の単語」に変更します。ポップアップボックスをどこかにしたい場合は、私に知らせてください。

+0

ありがとうございます。 –

+0

@MattTyrrell問題ありません – Blackmagyk

+0

ここでhtmlでこのコードを配置しますか? –

関連する問題