Bootstrap商品图片网格布局特效代码下载


Bootstrap商品图片网格布局特效代码下载
Bootstrap商品图片网格布局特效代码下载以及商品图片、网格布局等js/jquery网页特效代码下载。

1. 引入CSS

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.9/css/all.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-grid.min.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css">

2. HTML代码

<div class="container" style="margin-top:160px;">
	<div class="row">
		<div class="col-md-3 col-sm-6">
			<div class="product-grid">
				<div class="product-image">
					<a href="#" class="image">
						<img class="pic-1" src="images/img-1.jpg">
					</a>
					<span class="product-new-label">new</span>
					<ul class="social">
						<li><a href="#" data-tip="Quick view"><i class="fas fa-search"></i></a></li>
						<li><a href="#" data-tip="Add to Wishlist"><i class="far fa-heart"></i></a></li>
						<li><a href="#" data-tip="Compare"><i class="fas fa-random"></i></a></li>
					</ul>
				</div>
				<div class="product-content">
					<h3 class="title"><a href="#">Women's Blouse Top</a></h3>
					<div class="price">$18.50</div>
					<ul class="rating">
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="far fa-star"></li>
					</ul>
					<a class="add-to-cart" href="#">
					   <i class="fas fa-shopping-cart"></i> <span>ADD TO CART</span>
					</a>
				</div>
			</div>
		</div>
		<div class="col-md-3 col-sm-6">
			<div class="product-grid">
				<div class="product-image">
					<a href="#" class="image">
						<img class="pic-1" src="images/img-2.jpg">
					</a>
					<span class="product-new-label">new</span>
					<ul class="social">
						<li><a href="#" data-tip="Quick view"><i class="fas fa-search"></i></a></li>
						<li><a href="#" data-tip="Add to Wishlist"><i class="far fa-heart"></i></a></li>
						<li><a href="#" data-tip="Compare"><i class="fas fa-random"></i></a></li>
					</ul>
				</div>
				<div class="product-content">
					<h3 class="title"><a href="#">Men's jacket</a></h3>
					<div class="price"><span>$30.00</span>$20.00</div>
					<ul class="rating">
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="far fa-star"></li>
						<li class="far fa-star"></li>
					</ul>
					<a class="add-to-cart" href="#">
					   <i class="fas fa-shopping-cart"></i> <span>ADD TO CART</span>
					</a>
				</div>
			</div>
		</div>
		<div class="col-md-3 col-sm-6">
			<div class="product-grid">
				<div class="product-image">
					<a href="#" class="image">
						<img class="pic-1" src="images/img-3.jpg">
					</a>
					<span class="product-new-label">new</span>
					<ul class="social">
						<li><a href="#" data-tip="Quick view"><i class="fas fa-search"></i></a></li>
						<li><a href="#" data-tip="Add to Wishlist"><i class="far fa-heart"></i></a></li>
						<li><a href="#" data-tip="Compare"><i class="fas fa-random"></i></a></li>
					</ul>
				</div>
				<div class="product-content">
					<h3 class="title"><a href="#">Women's Shirt</a></h3>
					<div class="price"><span>$25.30</span>$15.50</div>
					<ul class="rating">
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
					</ul>
					<a class="add-to-cart" href="#">
					   <i class="fas fa-shopping-cart"></i> <span>ADD TO CART</span>
					</a>
				</div>
			</div>
		</div>
		<div class="col-md-3 col-sm-6">
			<div class="product-grid">
				<div class="product-image">
					<a href="#" class="image">
						<img class="pic-1" src="images/img-4.jpg">
					</a>
					<span class="product-new-label">new</span>
					<ul class="social">
						<li><a href="#" data-tip="Quick view"><i class="fas fa-search"></i></a></li>
						<li><a href="#" data-tip="Add to Wishlist"><i class="far fa-heart"></i></a></li>
						<li><a href="#" data-tip="Compare"><i class="fas fa-random"></i></a></li>
					</ul>
				</div>
				<div class="product-content">
					<h3 class="title"><a href="#">Men's jacket</a></h3>
					<div class="price">$29.50</div>
					<ul class="rating">
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="fas fa-star"></li>
						<li class="far fa-star"></li>
					</ul>
					<a class="add-to-cart" href="#">
					   <i class="fas fa-shopping-cart"></i> <span>ADD TO CART</span>
					</a>
				</div>
			</div>
		</div>
	</div>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>

相关推荐

发表评论

相关文章