当前位置: 首页 > news >正文

建设银行网站登录不了在线图片编辑像素

建设银行网站登录不了,在线图片编辑像素,盘锦网站建设公司,人工智能培训师JSCSS实现滑动轮播图 使用JS加CSS来实现的幻灯片#xff0c;主要使用的是CSS的transform属性中的translate来实现#xff0c;适合与用户交互的轮播图#xff0c;展现轮播图的数量#xff0c;用户可自由进行选择。 !DOCTYPE html html langenCSS实现滑动轮播图 使用JS加CSS来实现的幻灯片主要使用的是CSS的transform属性中的translate来实现适合与用户交互的轮播图展现轮播图的数量用户可自由进行选择。 !DOCTYPE html html langenheadmeta charsetUTF-8meta http-equivX-UA-Compatible contentIEedgemeta nameviewport contentwidthdevice-width, initial-scale1.0titleDocument/titlestyle* {margin: 0;padding: 0;list-style: none;}.cardBox {width: 600px;height: 300px;box-shadow: 0 0 10px gray;border-radius: 5px;margin: 100px auto;position: relative;overflow: hidden;}.imgBox {width: 3600px;height: 300px;transition: all 1s;transform: translateX(0px);}.item {width: 600px;height: 300px;float: left;}.item img {width: 100%;}.btn {width: 20px;height: 20px;top: calc(50% - 20px);border-right: solid white;border-top: solid white;position: absolute;z-index: 99;opacity: .6;cursor: pointer;}.btn:hover {opacity: 1;}.left {left: 15px;transform: rotate(-135deg);}.right {right: 15px;transform: rotate(45deg);}.pointBox {display: flex;width: 50%;position: absolute;bottom: 15px;left: 50%;transform: translateX(-50%);justify-content: center;}.pointBox li {width: 8px;height: 8px;border-radius: 50%;background: gray;margin: 0 10px;opacity: .7;cursor: pointer;}.pointBox li:hover {opacity: 1;background-color: white;}/style /headbodydiv classcardBoxdiv classbtn left/divdiv classbtn right/divul classimgBoxli classitemimg srchttps://img2.baidu.com/it/u2988589017,2923917558fm253fmtautoapp120fJPEG?w1280h800 alt/lili classitemimg srchttps://img2.baidu.com/it/u3867960631,2923014190fm253fmtautoapp138fJPEG?w889h500 altsrcset/lili classitemimg srchttps://img0.baidu.com/it/u891036130,2043934807fm253fmtautoapp138fJPEG?w889h500 altsrcset/lili classitemimg srchttps://img1.baidu.com/it/u1304255642,2961408783fm253fmtautoapp138fJPEG?w889h500 altsrcset/lili classitemimg srchttps://img0.baidu.com/it/u3822016102,3026244821fm253fmtautoapp138fJPEG?w500h281 altsrcset/lili classitemimg srchttps://img1.baidu.com/it/u847956157,2750448390fm253fmtautoapp138fJPEG?w800h500 altsrcset/li/ulul classpointBoxli/lili/lili/lili/lili/lili/li/ul/divscriptlet card document.querySelector(.cardBox ul)let cardBox document.querySelector(.cardBox)let items document.querySelectorAll(.item)let leftBtn document.querySelector(.left)let rightBtn document.querySelector(.right)let points document.querySelectorAll(.pointBox li)let index 0items.forEach((item, index) {let translateX index * 600item.style.left ${translateX}px})let timer nullpoints[index].style.background whitepoints[index].style.width 16pxpoints[index].style.borderRadius 5pxconst initInterval () {timer setInterval(() {indexlet pointIndex index;points[pointIndex].style.background whitepoints[pointIndex].style.width 16pxpoints[pointIndex].style.borderRadius 5pxif (pointIndex 0) {points[5].style.background graypoints[5].style.width 8px} else {points[pointIndex - 1].style.background graypoints[pointIndex - 1].style.width 8px}let translateX -index * 600card.style.transform translateX(${translateX}px)if (index 5) {index -1}}, 3000);}initInterval()cardBox.addEventListener(mouseover, () {clearInterval(timer)})cardBox.addEventListener(mouseout, () {initInterval()})// btn.addEventListener(mouseout, () {// initInterval()// })leftBtn.onclick function () {if (timer) {clearInterval(timer)}if (index 0) {index 6}index--let translateX -index * 600card.style.transform translateX(${translateX}px)}rightBtn.onclick function () {if (timer) {clearInterval(timer)}indexlet translateX -index * 600card.style.transform translateX(${translateX}px)if (index 5) {index -1}}points.forEach((item, i) {item.onclick () {points.forEach(element {element.style.background grayelement.style.width 8pxelement.style.borderRadius 50%});item.style.background whiteitem.style.width 16pxitem.style.borderRadius 5pxindex i;let translateX -index * 600card.style.transform translateX(${translateX}px)}})/script /body/htmlJSCSS实现浅入浅出轮播图 使用CSS的动画属性以及透明度属性来进行设置显示轮播图数量通过点击轮播图中的索引点来切换轮播图。适合需要和用户交互的简单轮播图
http://www.pierceye.com/news/39891/

相关文章:

  • 全国网站集约化建设试点如何新建网页
  • 酒店网站设计的目的和意义菜鸟教程python在线编程
  • 重庆画册设计公司太原网站搜索引擎优化
  • 自己做的网站提示危险导航类网站怎么做
  • 淘宝联盟网站怎么做百度快照提交
  • 中山网站制作建设关键词歌词图片
  • 手机网站建设代码在国外做网站推广
  • 在线推广网站的方法佛山市做网站
  • 专业做包装的电商网站php做网站需要html
  • 网站上的在线答题是怎么做的昆明哪个公司做网站建设最好
  • godaddy主机到网站怎么制作网页视频教学
  • 深圳市住房和城乡建设局网站wordpress系统配置
  • pc网站建设怎么做网站建设也笔试
  • 网站不做301可以吗清华大学网站建设方案
  • 毕业设计做系统网站柳州网站建设源码
  • 网站换空间 seo内江 网站建设
  • 提供五屏网站建设做网站的需求调研
  • asp转换手机网站简道云crm
  • 网站搜索引擎优化案例wordpress calypso
  • 郑州网站建设费用山西网站推广公司
  • 邢台做移动网站费用百度seo收录
  • iis做外网站点wordpress文章收费阅读
  • 简单网站建设哪家便宜东营建网站
  • 哪里有帮做微课的网站wordpress文章id连续
  • 为什么网站开发这么便宜网站建设的人性分析
  • 招考网站开发绵阳建设网
  • 中小型网站建设渠道做企业网站设计与实现
  • 找段子的各大网站wordpress迁移到thinkphp
  • 抖音代运营协议合同范本太原seo服务
  • 支付宝网站登录入口网站名字要备案吗