04 2025 档案
摘要:Default scroll behaviour (jump) 先搭个场景 HTML <body> <header style="height: 128px; background-color: lightgreen;"> <ul> <li><a href="/src/home/home.html#
阅读全文
摘要:前言 2022 年 4 月,我写了一篇 Swiper 介绍。 Swiper 是当时前端最多人使用的 Slider 库,没有之一,一骑绝尘。 但是!时过境迁,这两年已经有一匹神秘的黑马悄悄杀上来了。 它就是本篇的主角 -- Embla Carousel。 Embla Carousel 的卖点 Embl
阅读全文