css实现图片信息展示
<style>
.layui-fluid{padding: 15px;}
.img-responsive{display: block;width: 100%;max-width: 100% ;height: auto;}
.my-layui-btn {display: inline-block;height: 38px;line-height: 38px;padding: 0 18px;background-color: #009688;color: #fff;white-space: nowrap;text-align: center;font-size: 14px;border: none;border-radius: 2px;cursor: pointer}
.img-responsive,.img-content,.img-data{border-radius: 3px;}
.img-list{font-size: 18px;color: white;}
.img-data,.img-content{transition: all 0.4s ease-out;}
.img-content{position: relative;max-height: 250px;overflow: hidden;box-shadow: 0px 15px 30px -17px rgba(0, 0, 0, 0.44);}
.img-content:hover{transform: scale(1.05);box-shadow: 0px 15px 30px -17px rgba(0, 0, 0, 0.64);}
.img-data{position: absolute;top:;bottom:;left:;right:;z-index:;overflow: hidden;text-overflow: ellipsis;opacity:;}
.img-data:hover{opacity:;background: rgba(1,1,1,.3);}
.layui-btn-group{width: 100%;position: relative;}
.next-day{position: absolute;right:;top:;}
.prev-day{position: absolute;top:;}
.date{box-sizing: border-box;width: 100%;background: transparent;padding: 0 80px 0 80px;}
.tip{position: absolute;top:;left:-10px;transform: translateX(-110%);background: #0C0C0C;border-radius: 2px;color: white;padding: 0 10px;display: none;}
.arrow-icon{display: block;position: absolute;right: -13px;top: 12px;border: 8px solid transparent;border-left-color: #0C0C0C;}
.img-more-btn{width: 40px;height: 40px;border-radius: 100%;padding:;position: relative;}
.layui-icon-down{display: block;transition: all .3s ease-out;}
</style>
<div class="layui-col-md3 img-info">
<div class="img-content">
<img src="${ctxPath}/static/img/natural1.jpg" class="img-responsive"/>
<div class="img-data">
2019/2/13 00:00:00
</div>
</div>
</div>
<div class="layui-col-md3 img-info">
<div class="img-content">
<img src="${ctxPath}/static/img/natural1.jpg" class="img-responsive"/>
<div class="img-data">
2019/2/13 00:00:00
</div>
</div>
</div>
<div class="layui-col-md3 img-info">
<div class="img-content">
<img src="${ctxPath}/static/img/natural1.jpg" class="img-responsive"/>
<div class="img-data">
2019/2/13 00:00:00
</div>
</div>
</div>
css实现图片信息展示的更多相关文章
- 纯CSS实现项目展示遮罩详情效果
本实例主要用于项目展示时鼠标hover后显示一个遮罩显示项目详情的效果,遮罩采用CSS的绝对定位以及CSS3盒子模型. 本实例应用广泛,很多品牌官方网站均有采用. hover: <!DOCTYP ...
- CSS 动画之十-图片+图片信息展示
这个动画主要是运用了一些css3的特性,效果是展示一张商品图片,然后在商品图片的制定位置显示该商品的详细信息.效果在chrome浏览器中预览. <!DOCTYPE html> <ht ...
- file 自定义上传附件并展示缩略图
效果图镇楼.. 写的有点乱.上传一个实例供大家参考--附件下载地址如何下: https://files.cnblogs.com/files/fchx91/uploadFiles.rar 2019- ...
- Github上html页面(包括CSS样式和JS效果)如何显示出来
在看Github上项目时,发现有的html页面效果能很好的展现出来,而有的则不能.对这个问题很好奇,因此研究了一下,最终做到了将页面展示出来的目的.下面以我的Github的开源项目bootstrap- ...
- Web 建站技术中,HTML、HTML5、XHTML、CSS、SQL、JavaScript、PHP、ASP.NET、Web Services 是什么(转)
Web 建站技术中,HTML.HTML5.XHTML.CSS.SQL.JavaScript.PHP.ASP.NET.Web Services 是什么?修改 建站有很多技术,如 HTML.HTML5.X ...
- 从项目中学习HTML+CSS
最近由于工作原因以及自己的懈怠,已经很久都没有更新过博客了.通过这段时间,我发现坚持一件事情是真的很难,都说万事开头难,但是在放弃这件事上好像开头了后面就顺理成章的继续下去了.中间即使不怎么情愿也在努 ...
- 简易博客[ html + css ] 练习
1. 前言 通过使用 html + css 编写一个简易的博客作为入门练习 2. 代码及实现 2.1 目录结构 2.2 代码部分 <!DOCTYPE html> <html lang ...
- 3 、操作元素 (属性 CSS 和 文档处理)
3 操作元素-属性 CSS 和 文档处理 3.1 属性操作 $("p").text() $("p").html() $(":check ...
- CSS制作图形速查表
很少会有人意识到,当浏览器绘制的border,会有一个角度的问题.我们就是得用这样的一个技巧来制作三角的效果.我们只需要保证一边的边框是有色,其他边框色为透明色,这样我们就很容易制作出三角形,然后改变 ...
随机推荐
- 笔记14:Docker 部署Python项目
Docker 部署Python项目 导读: 软件开发最大的麻烦事之一就是环境配置,操作系统设置,各种库和组件的安装.只有它们都正确,软件才能运行.如果从一种操作系统里面运行另一种操作系统,通常我们采取 ...
- 201871010133-赵永军《面向对象程序设计(java)》第十四周学习总结
201871010133-赵永军<面向对象程序设计(java)>第十四周学习总结 项目 内容 这个作业属于哪个课程 https://www.cnblogs.com/nwnu-daizh/ ...
- golang go get代理设置
1.gopm 代替go 下载第三方依赖包 可以采用gopm从golang.org一些镜像网站上下载. a). 安装gopm go get -u github.com/gpmgo/gopm 可手动下载, ...
- (day48作业)jQuery+Bootstrap练习题
目录 一.图书管理系统页面搭建 二.jQuery练习题 一.图书管理系统页面搭建 <!DOCTYPE html> <html lang="en"> < ...
- zookeeper 链接报错 KeeperErrorCode = NodeExists for
zookeeper 链接报错 CONNECTING Receive watched event:WatchedEvent state:SyncConnected type:None path:nul ...
- TP5导入EXCEL到数据库
前期准备工作: 1.下载PHPExcel放到vendor下 2.前端页面: <form action="save" method="post" encty ...
- 为什么accpet会重新返回一个套接字
在服务器端,socket()返回的套接字用于监听(listen)和接受(accept)客户端的连接请求.这个套接字不能用于与客户端之间发送和接收数据. accept()接受一个客户端的连接请求,并返回 ...
- B1001 害死人不偿命的(3n+1)猜想 (15 分)
一.参考代码: #include<iostream> using namespace std; int main(){ int n; int step = 0; cin >> ...
- [LeetCode] 55. Jump Game 跳跃游戏
Given an array of non-negative integers, you are initially positioned at the first index of the arra ...
- 3.Python配套习题
这里会持续更新Python每个部分知识点的配套练习题的目录...