3
私のテキストを拡大して、divのサイズよりも長いコンテンツのホバー上にあるときに、そのすべてのコンテンツを表示します。これは私がこれまでに持っていることですが、テキストを横に開くことです。私はそれが下にテキストを表示し、divの幅よりも長くないテキストのスライドダウンエフェクトもします。このよう残りのテキストをホバーに表示
.show {
padding: 5px 5px 5px 5px;
border-radius: 10px;
height: 20px;
margin: 5px 1% 5px 1%;
position: relative;
transition: height 0.5s;
-webkit-transition: height 0.5s;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
font-weight: 500;
letter-spacing: 1px;
line-height: normal;
outline: 0 none;
text-decoration: none;
text-transform: uppercase;
}
.show:hover {
height: 100px;
overflow: visible;
}
感謝 – nsikak