首页 > 其他分享 >前端JS特效第20集:HTML5图片瀑布流带筛选功能代码

前端JS特效第20集:HTML5图片瀑布流带筛选功能代码

时间:2024-07-07 22:58:09浏览次数:25  
标签:Swipe 20 流带 代码 Get JS See HTML5

HTML5图片瀑布流带筛选功能代码,先来看看效果:

部分核心的代码如下(全部代码在文章末尾):

<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HTML5图片瀑布流带筛选功能代码 - php中文网</title>

<!---<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,500,700" rel="stylesheet">--->
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="sponsor/pater.css" />

<script>document.documentElement.className = 'js';</script>

</head>
<body class="loading">

<main>
	<header class="codrops-header"></header>
	<div class="content content--side">
		<div class="control control--grids">
			<span class="control__title">switch layout</span>
			<div class="control__item">
				<input class="control__radio" type="radio" name="grid-type" value="grid--type-a" id="control-grid-a" checked>
				<label class="control__label" for="control-grid-a">grid A</label>
			</div>
			<div class="control__item">
				<input class="control__radio" type="radio" name="grid-type" value="grid--type-b" id="control-grid-b">
				<label class="control__label" for="control-grid-b">grid B</label>
			</div>
			<div class="control__item">
				<input class="control__radio" type="radio" name="grid-type" value="grid--type-c" id="control-grid-c">
				<label class="control__label" for="control-grid-c">grid C</label>
			</div>
		</div>	
	</div>
	<div class="content content--side content--right">
		<div class="control control--effects">
			<span class="control__title">run effect</span>
			<button class="control__btn" data-fx="Hapi">Hapi</button>
			<button class="control__btn" data-fx="Amun">Amun</button>
			<button class="control__btn" data-fx="Kek">Kek</button>
			<button class="control__btn" data-fx="Isis">Isis</button>
			<button class="control__btn" data-fx="Montu">Montu</button>
			<button class="control__btn" data-fx="Osiris">Osiris</button>
			<button class="control__btn" data-fx="Satet">Satet</button>
			<button class="control__btn" data-fx="Atum">Atum</button>
			<button class="control__btn" data-fx="Ra">Ra</button>
			<button class="control__btn" data-fx="Sobek">Sobek</button>
			<button class="control__btn" data-fx="Ptah">Ptah</button>
			<button class="control__btn" data-fx="Bes">Bes</button>
			<button class="control__btn" data-fx="Seker">Seker</button>
			<button class="control__btn" data-fx="Nut">Nut</button>
			<button class="control__btn" data-fx="Shu">Shu</button>
		</div>
	</div>
	<div class="content content--center">
		<div class="grid grid--type-a">
			<div class="grid__sizer"></div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/1.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/2.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link pater" href="http://synd.co/2oQTgFH">
					<div class="pater__img"></div>
					<div class="pater__content">
						<h2 class="pater__title" aria-label="fullstory">See Every Click, Swipe, <br> and Scroll</h2>
						<p class="pater__desc">See how users experience your designs with FullStory.</p>
						<span class="pater__call">Get it free today!</span>
					</div>
				</a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/3.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/4.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/5.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/6.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/7.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/8.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/9.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/10.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/11.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/2.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/4.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/8.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/10.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/1.jpg" alt="Some image" /></a>
			</div>
		</div>
		<div class="grid grid--type-b">
			<div class="grid__sizer"></div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/11.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/5.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link pater pater--small" href="http://synd.co/2oQTgFH">
					<div class="pater__img"></div>
					<div class="pater__content">
						<h2 class="pater__title" aria-label="fullstory">See Every Click, Swipe, <br> and Scroll</h2>
						<p class="pater__desc">See how users experience your designs with FullStory.</p>
						<span class="pater__call">Get it free today!</span>
					</div>
				</a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/2.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/1.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/4.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/6.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/7.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/8.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/5.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/2.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/3.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/4.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/5.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/6.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/7.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/8.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/1.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/2.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/3.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/4.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/5.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/6.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/7.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/8.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set1/11.jpg" alt="Some image" /></a>
			</div>
		</div>
		<div class="grid grid--type-c">
			<div class="grid__sizer"></div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/1.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/2.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link pater" href="http://synd.co/2oQTgFH">
					<div class="pater__img"></div>
					<div class="pater__content">
						<h2 class="pater__title" aria-label="fullstory">See Every Click, Swipe, <br> and Scroll</h2>
						<p class="pater__desc">See how users experience your designs with FullStory.</p>
						<span class="pater__call">Get it free today!</span>
					</div>
				</a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/3.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/4.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/5.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/6.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/10.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/11.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/7.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/8.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/9.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/2.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/4.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/6.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/8.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/10.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/1.jpg" alt="Some image" /></a>
			</div>
			<div class="grid__item">
				<a class="grid__link" href="#"><img class="grid__img" src="img/set3/2.jpg" alt="Some image" /></a>
			</div>
		</div>
	</div>
	
</main>

<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/masonry.pkgd.min.js"></script>
<script src="js/anime.min.js"></script>
<script src="js/main.js"></script>

<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
<p>适用浏览器:360、FireFox、Chrome、Opera、傲游、搜狗、世界之窗. 不支持Safari、IE8及以下浏览器。</p>
<p>来源:<a href="https://www.php.cn/" target="_blank">php中文网</a></p>
</div>
</body>
</html>

全部代码:HTML5图片瀑布流带筛选功能代码

标签:Swipe,20,流带,代码,Get,JS,See,HTML5
From: https://blog.csdn.net/2401_85903333/article/details/139999234

相关文章

  • 前端JS特效第21集:HTML5响应式多种切换效果轮播大图切换js特效代码
    HTML5响应式多种切换效果轮播大图切换js特效代码,先来看看效果:部分核心的代码如下(全部代码在文章末尾):<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999......
  • 前端JS特效第22集:html5音乐旋律自定义交互特效
    html5音乐旋律自定义交互特效,先来看看效果:部分核心的代码如下(全部代码在文章末尾):<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><title>ChimeTime™</title><linkrel="stylesheet"href="css/style.css......
  • 云动态摘要 2024-07-07
    给您带来云厂商的最新动态,最新产品资讯和最新优惠更新。最新优惠与活动数据库上云优选阿里云 2024-07-04RDS、PolarDB、Redis、MongoDB全系产品新用户低至首年6折起![免费体验]智能助手ChatBI上线腾讯云 2024-07-02基于混元大模型打造,可通过对话方式生成可视化图表......
  • P1068 [NOIP2009 普及组] 分数线划定【排序】
    [NOIP2009普及组]分数线划定题目描述世博会志愿者的选拔工作正在A市如火如荼的进行。为了选拔最合适的人才,A市对所有报名的选手进行了笔试,笔试分数达到面试分数线的选手方可进入面试。面试分数线根据计划录取人数的150......
  • 2024暑假重庆训练记+总结
    Day-1明天就要去重庆了今天上午有一场模拟赛有点难(sohard)改题什么的留给重庆的我吧..今天自然要放松回家之后简简单单地吃了一碗面然后回家和同学们聊天晚上也是和另一个同学聊天但是她的手机坏了所以就不聊了额(挺不巧的)然后很早就睡觉了卷王\(lhy\)还在喝咖......
  • P4688 Ynoi2016 掉进兔子洞
    P4688Ynoi2016掉进兔子洞经典莫队加bitset。思路不难发现最终答案就是:\[(r_1-l_1+1)+(r_2-l_2+1)+(r_3-l_3+1)-3\timessize\]其中\(size\)表示3个区间内出现了多少个公共元素。看到这么多区间,不妨有把区间拆下来搞莫队的想法。先不考虑询问个数的限制,我们考虑使用......
  • [CISCN2019 华北赛区 Day1 Web2]ikun
    进入题目发现找到lv6查看源码发现用lv标志点击下一页发现url参数page写脚本importrequestsforiinrange(500):url="http://248e4e18-a7a1-4bb1-adc1-e3a177974773.node4.buuoj.cn:81/shop?page={}".format(i)reponse=requests.get(url)if"lv6.png"inreponse.tex......
  • Corel VideoStudio会声会影2024破解版本下载
    CorelVideoStudioUltimate2024(会声会影2024)是Corel旗下一款功能强大的专业视频制作软件的视频编辑软件及视频剪辑软件,非常专业的使用效果,会声会影2023中文版可以针对剪辑电影进行使用,非常强大的色彩校正方式,无论什么光线下进行拍摄,都可以通过后期进行调整,并且里面超多不同的......
  • 会声会影2024最新汉化官方破解版补丁包下载
    会声会影2024破解版本是一款功能强大的安卓视频编辑软件,它具有许多令人惊喜的特点和优势。首先,该软件提供了丰富的视频编辑工具,包括剪辑、合并、添加特效等,让用户能够轻松地对视频进行个性化处理。其次,它支持多种视频格式的输入和输出,使得用户无需担心兼容性问题。此外,它还具有......
  • 会声会影2024破解版本夸克网盘下载
    会声会影2024破解版本是一款功能强大的安卓视频编辑软件,它具有许多令人惊喜的特点和优势。首先,该软件提供了丰富的视频编辑工具,包括剪辑、合并、添加特效等,让用户能够轻松地对视频进行个性化处理。其次,它支持多种视频格式的输入和输出,使得用户无需担心兼容性问题。此外,它还具......