收藏 / 列表

兔子先森 - 《vue.js設計與實現》——計算屬性computed與lazy

在深入瞭解計算屬性之前,我們需要先知道懶執行的effect,也就是lazy的effect 我們現在實現的effect函數會立即執行傳遞給它的副作用函數,例如: effect( // 這個函數會立即執行 () = { console.log('執行了'); } ) 但有的時候我們不需要他立即執行,而是在需要的時候才執行,這個特性就跟計算屬性很像 我們可以在option

vue.js , Css , HTML , 前端 , Javascript

水冗水孚 - 每天進步一點點——學習高度過渡的四種方式

每天學點知識點,每天進步一點點,本文記錄了高度過渡變化的四種方式,大家一塊來查漏補缺,或者回顧知識吧😉😉😉 常見的四種方式的高度過渡 目前常見的高度過渡的方式有四種 transition + height transition + max-height transition + tranform:scale(0/1) JS方式計算元素的高度 實際上,還有一個height: c

Css , Javascript

Michelle Barker - Simplifying Form Styles With accent-color

I don’t know about you, but I love it when new CSS properties arrive that make our daily lives as developers simpler and enable us to remove a whole lot of redundant code. aspect-ratio is one such p

Tools , Accessibility , Css , Browsers

最多選5個技能 - 系統架構設計師高階難題解析與深度思考

一、分佈式系統深度難題 1.1 一致性協議進階應用 難題1:Multi-Paxos優化實現 考慮一個需要高吞吐的分佈式配置管理系統,採用Multi-Paxos協議。已知網絡延遲RTT=50ms,每個提案大小1KB,客户端請求速率2000QPS。求: 理論上最大吞吐量是多少? 如何通過批處理和流水線優化提升性能? 在節點

架構設計 , 數據中心 , 緩存 , 後端開發 , Python

Preethi Sam - Event Calendars For Web Made Easy With These Commercial Options

This article has been kindly supported by our dear friends at Bryntum, who are strong believers in the web as an application platform and provide advanced UI components and dev tools for over 500

Tools , Web Components

Inayaili de Leon - The Future Of CSS Typography

There has been an increasing and sincere interest in typography on the web over the last few years. Most websites rely on text to convey their messages, so it’s not a surprise that text is treated w

Typography , coding , Css

子丶不語 - 前端文件下載的N種姿勢:從簡單到高級

文件下載是web開發裏一個非常常見的功能,無論是下載用户生成的數據、圖片、文檔還是應用程序包。前端開發者有多種方式來實現這一需求,每種方式都有其適用場景和優缺點。介紹下幾種比較常用的文件下載方法。 1.a標籤的download屬性 (最簡單) 這是實現文件下載最簡單直接的方式,尤其適用於下載靜態資源或已知URL的文件。 原理: HTML5為a標

vue.js , 文件名 , 數據 , API , 前端開發