H5图片浮动和Hover
来源:互联网 发布:js循环输出表格 编辑:程序博客网 时间:2024/06/07 10:33
<style type="text/css">
.one{
width: 250px;
height: 300px;
border: 1px solid gray;
border-radius: 8px;
margin-top: 110px;
position: relative;
float: left;
margin-left: 50px;
}
.one img{
width:250px ;
height: 270px;
/*float: left;*/
}
.one p{
margin: 0;
width: 250px;
height: 30px;
font-size: 18px;
background-color: white;
text-align: center;
}
.black_div{
width:250px ;
height: 270px;
/*background-color:black;*/
opacity: 0.8px;
position: absolute;
display: none;
}
h3{
position: absolute;
font-size: 30px;
color: white;
left: 70px;
top: 150px;
display: none;
}
.one:hover h3{
display: block;
}
.one:hover .black_div{
display: block;
}
</style>
<div class="one">
<h3>天猫商城</h3><div class="black_div"></div>
<img src="img/tianmao.jpg">
<p class="position"> 天猫双十一剁手节</p>
</div>
- H5图片浮动和Hover
- 关于hover,定位和请浮动
- h5学习笔记: 图片浮动提示
- h5图片上传和压缩
- H5-浮动和表单以及经纬度的查询
- h5添加标签浮动
- h5清除浮动
- H5浮动练习
- 炫酷CSS3鼠标hover图片缩放和标题效果
- CSS:hover 图片缩放
- 鼠标hover图片改变
- hover 时图片旋转
- hover给图片加遮罩
- 浮动图片
- 浮动图片
- 图片浮动
- H5上传图片和获得图片关键代码
- a :hover 和a:hover 区别
- httpclient学习与短信应用实践
- java堆栈详解
- Maven下junit单元测试
- Shell[五]:Linux环境下删除乱码文件
- 【译】scikit-learn入门简介
- H5图片浮动和Hover
- 友盟多渠道打包
- uva-1423Guess 拓扑排序
- Java——时间和日期处理
- Hibernate Part5
- Hadoop 传递参数的四种方式
- vim快捷键整理大全 .
- Mybatis的学习之路(一)
- android 右上角menu创建设置