短评 · ·

X 归档 2024-12-27

2 条动态 · 图 3 · 视频 0
Did you know about transition-behavior: allow-discrete? Using it and a cool grid template trick to allow height transition from 0 to auto we can make a Pure #CSS accessible Accordion in Chrome:
https://codepen.io/waterplea/pen/vEBZoMg
For other browsers don't use 'details' tag😉
你知道 transition-behavior: allow-discrete 吗?利用它和一个巧妙的 grid template 技巧(让 height 可以从 0 过渡到 auto),我们就能在 Chrome 里做一个纯 #CSS 的无障碍手风琴:
https://codepen.io/waterplea/pen/vEBZoMg
其他浏览器的话,别用 'details' 标签😉
The @ng-rspack/build package needs some work done to it's deps and peerDeps, but version 0.0.31 contains

pluginAngular()

an Rsbuild plugin for @angular that can be used with an rsbuild config shown below, producing results also shown below.

The @rspack_dev ecosystem 🤯
@ng-rspack/build 这个包的 deps 和 peerDeps 还需要一些整理,但 0.0.31 版本包含了

pluginAngular()

一个面向 @angular 的 Rsbuild 插件,可以配合下面展示的 rsbuild 配置使用,产出结果也如下所示。

@rspack_dev 生态 🤯
@FerryColum 的配图 1/3 @FerryColum 的配图 2/3 @FerryColum 的配图 3/3