X 归档 2023-06-23
In Angular 16.1, we've added a new development server option: forceEsbuild.
When enabled, `ng serve` will use esbuild/Vite with the build target options!
Note: you can continue to use default Webpack-based builder for builds (ng build) if you choose.
When enabled, `ng serve` will use esbuild/Vite with the build target options!
Note: you can continue to use default Webpack-based builder for builds (ng build) if you choose.
Angular 16.1 新增了一个开发服务器选项:forceEsbuild。
启用后,`ng serve` 将使用带构建目标选项的 esbuild/Vite!
注意:如果你愿意,构建(ng build)时仍可继续使用默认的基于 Webpack 的 builder。
启用后,`ng serve` 将使用带构建目标选项的 esbuild/Vite!
注意:如果你愿意,构建(ng build)时仍可继续使用默认的基于 Webpack 的 builder。
The upcoming Picture-in-Picture API that @googlechrome is pushing is soo promising! 🤩
@nuxt_js DevTools will be able to pop up as a separate window soon!
@nuxt_js DevTools will be able to pop up as a separate window soon!
@googlechrome 力推的 Picture-in-Picture API 前景太可期了!🤩
@nuxt_js DevTools 很快就能以独立窗口弹出了!
@nuxt_js DevTools 很快就能以独立窗口弹出了!
I modified all buttons and actions in Screen Studio to use the same rounded corners algorithm as iOS and macOS native apps instead of a regular, web-based border-radius.
Will anyone ever notice? I doubt it.
Will I know about it and be proud of it? Yes.
Will anyone ever notice? I doubt it.
Will I know about it and be proud of it? Yes.
我把 Screen Studio 里所有按钮和操作改成了与 iOS 和 macOS 原生应用相同的圆角算法,而不是普通的、网页式的 border-radius。
会有人注意到吗?我很怀疑。
我自己知道并且为此骄傲吗?当然。
会有人注意到吗?我很怀疑。
我自己知道并且为此骄傲吗?当然。
Example button: 😅
You can see it, right lol?
ps. Thanks to https://www.figma.com/blog/desperately-seeking-squircles/ for absolutely stunning research on it!
And to https://figma-squircle.vercel.app/ for implementing the algorithm.
You can see it, right lol?
ps. Thanks to https://www.figma.com/blog/desperately-seeking-squircles/ for absolutely stunning research on it!
And to https://figma-squircle.vercel.app/ for implementing the algorithm.
示例按钮:😅
能看出来区别吧,哈哈?
ps. 感谢 https://www.figma.com/blog/desperately-seeking-squircles/ 在这方面做的超赞研究!
也感谢 https://figma-squircle.vercel.app/ 实现了这个算法。
能看出来区别吧,哈哈?
ps. 感谢 https://www.figma.com/blog/desperately-seeking-squircles/ 在这方面做的超赞研究!
也感谢 https://figma-squircle.vercel.app/ 实现了这个算法。
Here's why you shouldn't think of JavaScript modules as Deno-first vs. npm-first 👇
为什么你不该把 JavaScript 模块看成 “Deno 优先还是 npm 优先” 的对立问题 👇
For your Friday afternoon #CSS pleasure: (ab)using Scroll-Driven Animations to fake a Scroll-Snapping `:snapped` pseudo.
It’s not perfect, but at least it’s something …
https://codepen.io/bramus/pen/zYMoNvg
It’s not perfect, but at least it’s something …
https://codepen.io/bramus/pen/zYMoNvg
供你周五下午消遣的 #CSS 玩法:(滥用)Scroll-Driven Animations 来伪造一个滚动吸附的 `:snapped` 伪类。
不算完美,但至少是个办法……
不算完美,但至少是个办法……






