See You Again

前端聚焦周刊:第 436 期

这里是 Frontend Focus 的中文翻译项目,每周在 己思 平台首发。

原文:Frontend Focus issue 436

翻译及校对:richshaw2015Yully Che

🚀 刊首

如何用 performance.measureMemory() 检测页面的内存使用

Learn how to measure memory usage of your web page in production to detect regressions. (Chrome only, for now.)

来源:Ulan Degenbaev

Edge 81 发布说明

Version 81 of Microsoft Edge hit the stable channel yesterday, bringing with it the new built-in Collections feature, DevTools localization in 10 new languages, updates to the 3D View tool, and more.

来源:Microsoft

什么是 ‘JAMstack’ 以及如何开始

A good explainer that goes through exactly what JAMstack is and how to take advantage of its benefits. (Psst, we’ve recently launched a JAMstack newsletter.)

来源:Colby Fayock

jQuery 3.5.0 发布

A notable security fix (for a cross-site scripting vulnerability), plus some features additions, fixes and depreciations.

来源:Timmy Willison (jQuery Foundation)

前端开发的十个安全提示

A pretty decent list of recommendations aimed at frontend devs for securing a website or app, including tips on CSP, XSS, third-party scripts, and more.

来源:Konstantin Lebedev

🐦 Seen on Twitter —— Microsoft, PLEASE consider this 😂

“I am still disappointed that Edge didn’t take the opportunity to name the Canary channel ‘Bleeding Egde’ and the Beta channel ‘Cutting Edge’.”

来源:Tierney Cyren on Twitter

📙 文章、教程、观点

如何在 JavaScript 中创建粒子动画

Anna Prenzel explains how to easily program a small trail of particles with anime.js.

来源:Smashing Magazine

CSS 系统字体栈参考

Takes a detailed look at a recommended CSS font stack that uses system fonts (e.g. -apple-system) for an optimized cross-platform solution.

  1. body {
  2. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
  3. Roboto, Oxygen-Sans, Ubuntu, Cantarell,
  4. "Helvetica Neue", sans-serif;
  5. }

来源:Alligator.io

Web Accessibility 介绍

The availability of this free online course from the W3C’s Web Accessibility Initiative has been extended through until the end of May. It’s designed to provide a strong foundation for making sites/apps work well for people with disabilities, meet international standards, and enhance UX for all web users.

来源:W3C course

响应式图片的简单实现方式

A look at handling resolution switching using the srcset and sizes attributes.

来源:Scott Vandehey

高效开发动画的建议

A concise list of tips focused on how to efficiently build animations (using GSAP).

来源:Zach Saucier

替换 GIF 获得惊人的性能提升

来源:Swizec Teller

使用 GitHub Actions 进行 WordPress 持续部署

Shipping code to a production server often requires paid services. With GitHub Actions, Continuous Deployment is free for everyone. Read how to set that up.

来源:Steffen Bewersdorff

React 开发中的 CSS 变量

A solid look at how to use CSS variables (custom properties) in your next project. (If you’re working with React, we have a newsletter for that too!)

来源:Josh W Comeau

仅使用 3 个属性开发响应式 CSS 网格布局

来源:Daniel Nastase

使用 CSS 在圆圈内设置文本

来源:Kerry Smyth

提醒: Bootstrap 5 不再支持 IE

来源:Bootstrap

🔧 代码、工具、资源

Flip:卡片时钟倒计时动效插件

Adds an animated dynamic countdown timer to a page. No dependencies, responsive and mobile friendly, and fits any language, locale, or time zone.

来源:Rik Schennink

Vime:现代的视频媒体播放器

Aims to be a ‘modern alternative to Video.js and Plyr’: “The idea behind Vime is we want you to control the player, not the other way around.” Modular, tree-shakable, and with potential for a plugin ecosystem. GitHub repo.

来源:Rahim Alwer

CSS 颜色渐变生成器

Another straightforward option for generating gradients for backgrounds/other page elements. Has a decent selection of predefined gradients too.

来源:Monokai

midori:实现动图背景的库

Built with three.js, provides support for animated transition, a configurable dynamic “camera”, and post-processing effects.

来源:Benjamin Pang

MonoLisa

A paid monospace font for use in coding editors. It aims to deliver a legible/pleasant reading experience over longer periods of time. Compare it to Source Code Pro, JetBrains Mono, etc, in the playground.

If you don’t like paying or the license requirements seem onerous, consider Fira Code, a rather similar font released under the SIL Open Font License.

💻 招聘

译者注:如需了解,请查看原文

🗓 未来大事记

译者注:如需了解,请查看原文

2020-07-31 喜欢

Copyright © 2015-2022 BY-NC-ND 4.0

回到顶部 ↑