简体   繁体   English

使用引导程序实现轮播卡片

[英]Implementing carousel cards with bootstrap

I tried to create with the help of bootstrap cards that appear on the normal desktop and on the mobile to be a carousel type like the ones on the google page in the "Resources" category.我试图在普通桌面和移动设备上出现的引导卡的帮助下创建一个轮播类型,就像谷歌页面上“资源”类别中的那样。 Example: https://marketingplatform.google.com/about/tag-manager/示例: https://marketingplatform.google.com/about/tag-manager/

Can anyone help me how I can implement this carousel time?谁能帮助我如何实现这个轮播时间?

https://i.stack.imgur.com/ePAHK.png https://i.stack.imgur.com/ePAHK.png

You can use Swiper JS , Flickity , Tiny-swiper , Slick , Keen-slider , Glide.js (OLD), Owl-carousel您可以使用 Swiper JSFlickityTiny-swiperSlickKeen-sliderGlide.js (OLD) 、 Owl-carousel
the Google one is transform: translate based not scroll谷歌是transform: translate而不是滚动

A slider made using CSS scroll-snap would be resposive & lightweight, and will work great especially on mibile devices使用 CSS 滚动快照制作的 slider 具有响应性和轻量级,尤其适用于移动设备
Try THIS on your phone在你的手机上试试这个

AND if you want cursor support use some Javascript as described HERE如果您想要 cursor 支持,请使用一些Javascript ,如此处所述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM