小编Far*_*zal的帖子

将鼠标悬停在DIV上时显示内容

将鼠标悬停在DIV上时是否可以显示内容.见图片

当我将鼠标悬停在div上时,会发生转换,但是可以在悬停div中显示内容,即.图像等

HTML:

<div class="flowingdown">

</div>
Run Code Online (Sandbox Code Playgroud)

CSS3:

.flowingdown {
    width:1045px;
    background-image:url(images/vertical_cloth.png);
    height:50px;
    float:left;
    margin-top:2px;
    margin-bottom:2px;
    border-radius:0 0  55px 55px ;
    transition: height 1s;
    -webkit-transition: height 1s;


}

.flowingdown:hover {
    height:100px;
}
Run Code Online (Sandbox Code Playgroud)

html css stylesheet css3 mousehover

11
推荐指数
1
解决办法
7万
查看次数

标签 统计

css ×1

css3 ×1

html ×1

mousehover ×1

stylesheet ×1