最新亚洲AV网址_国产精品vr无码专区_美国精品一区二区三区四区五_亚洲无码国产精品_换妻社区国产精品,完美世界有声小说,完结小说排行榜,有声小说打包下载

微信掃碼登錄 ×
css3列表圖片懸停動畫特效

css3列表圖片懸停動畫特效

收藏
css3列表圖片懸停動畫特效
css3響應式圖片列表布局,鼠標懸停圖片遮罩層顯示文字和圖標動畫特效。

使用方法:

1、head引入css文件

<!--bootstrap布局框架-->
<link rel="stylesheet" type="text/css" href="css/bootstrap-grid.min.css" />

<!--字體圖標樣式-->
<link rel="stylesheet" type="text/css" >

<style>
body{background-color: #353535}
.box {
	font-family: 'Ubuntu', sans-serif;
	overflow: hidden;
	position: relative;
	transition: all 0.3s;
}
.box:hover {
	box-shadow: 0 0 15px -5px #000;
}
.box:before {
	content: '';
	background-color: transparent;
	background-image: radial-gradient(circle at 20% 80%, transparent 29%, rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.4) 33%, transparent 34%),  radial-gradient(circle at 80% 20%, transparent 29%, rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.4) 33%, transparent 34%);
	background-size: 30px 30px;
	height: 100%;
	width: 100%;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	transition: all 0.3s ease 0.2s;
}
.box:hover:before {
	opacity: 1;
}
.box img {
	width: 100%;
	height: auto;
	transition: all 0.3s ease 0s;
}
.box:hover img {
	filter: blur(2px);
}
.box .box-content {
	color: #fff;
	background-color: rgba(0,0,0,0.6);
	text-align: center;
	width: 100%;
	height: 59%;
	padding: 18% 0 0 0;
	position: absolute;
	left: 0;
	top: -100%;
	z-index: 2;
	transition: all 0.3s ease 0s;
}
.box:hover .box-content {
	top: 0;
}
.box .title {
	color: #fff;
	font-size: 23px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0;
}
.box .post {
	color: #32c287;
	font-size: 14px;
	font-style: italic;
	text-transform: capitalize;
	letter-spacing: 2px;
}
.box .icon {
	background: rgba(50,194,135,0.6);
	text-align: center;
	height: 39%;
	width: 100%;
	padding: 15px 0 0;
	margin: 0;
	list-style: none;
	transform: translateX(50%);
	position: absolute;
	right: 50%;
	bottom: -100%;
	z-index: 1;
	transition: all 0.3s;
}
.box:hover .icon {
	bottom: 0;
}
.box .icon li {
	display: inline-block;
	margin: 0 3px;
}
.box .icon li a {
	color: #32c287;
	background-color: #fff;
	font-size: 18px;
	line-height: 40px;
	height: 40px;
	width: 40px;
	border-radius: 40%;
	display: block;
	transition: all 0.3s;
}
.box .icon li a:hover {
	color: #fff;
	background-color: #04a562;
	box-shadow: 0 0 0 3px rgba(255,255,255,0.5), 0 0 5px rgba(0,0,0,0.5) inset;
}

@media only screen and (max-width:990px) {
.box {
	margin-bottom: 30px;
}
}

@media only screen and (max-width:479px) {
.box .title {
	font-size: 20px;
}
}
</style>

2、body引入HTML代碼

<div class="demo">
	<div class="container">
		<div class="row">
		
			<div class="col-md-4 col-sm-6">
				<div class="box">
					<img src="images/img-1.jpg" alt="">
					<div class="box-content">
						<h3 class="title">Williamson</h3>
						<span class="post">web developer</span>
					</div>
					<ul class="icon">
						<li><a href="#"><i class="fa fa-search"></i></a></li>
						<li><a href="#"><i class="fa fa-link"></i></a></li>
					</ul>
				</div>
			</div>
			
			<div class="col-md-4 col-sm-6">
				<div class="box">
					<img src="images/img-2.jpg" alt="">
					<div class="box-content">
						<h3 class="title">Kristina</h3>
						<span class="post">web designer</span>
					</div>
					<ul class="icon">
						<li><a href="#"><i class="fa fa-search"></i></a></li>
						<li><a href="#"><i class="fa fa-link"></i></a></li>
					</ul>
				</div>
			</div>
			
			<div class="col-md-4 col-sm-6">
				<div class="box">
					<img src="images/img-3.jpg" alt="">
					<div class="box-content">
						<h3 class="title">Miranda Roy</h3>
						<span class="post">web developer</span>
					</div>
					<ul class="icon">
						<li><a href="#"><i class="fa fa-search"></i></a></li>
						<li><a href="#"><i class="fa fa-link"></i></a></li>
					</ul>
				</div>
			</div>
			
		</div>
	</div>
</div>

使用聲明

1. 本站所有素材(未指定商用),僅限學習交流。
2. 會員在本站下載的原創商用和VIP素材后,只擁有使用權,著作權歸原作者及17素材網所有。
3. 原創商用和VIP素材,未經合法授權,請勿用于商業用途,會員不得以任何形式發布、傳播、復制、轉售該素材,否則一律封號處理。
4. 本平臺織夢模板僅展示和個人非盈利用途,織夢系統商業用途請預先授權。

x
×
×

注冊

QQ注冊 立即下載 微信注冊 立即下載

簽到成功!

已連續簽到1天,連續簽到3天可獲得50積分

知道了
主站蜘蛛池模板: 石城县| 革吉县| 泽普县| 临城县| 百色市| 江城| 宁强县| 龙里县| 花莲市| 喀什市| 汨罗市| 雅安市| 曲靖市| 芒康县| 河源市| 乳山市| 农安县| 吉木乃县| 托克逊县| 威海市| 青神县| 阳曲县| 莱芜市| 肥城市| 汨罗市| 宁乡县| 大埔县| 南郑县| 革吉县| 巴东县| 桐城市| 凌海市| 苏州市| 鸡泽县| 永昌县| 松溪县| 石棉县| 密云县| 响水县| 泗阳县| 卓资县|