收藏 / 列表

Inayaili de Leon - Taming Advanced CSS Selectors

The best way to avoid these plagues spreading in your markup and keep it clean and semantic is by using more complex CSS selectors, ones that can target specific elements without the need for a clas

coding , Css

子丶不語 - 前端必看!12個JS神級簡寫技巧,代碼效率直接飆升80%,告別加班!

在日常開發中,我們經常會遇到一些重複、冗長的代碼。寫起來費勁,讀起來費神,維護起來更是頭疼。而且代碼越複雜,性能可能越受影響。 那有沒有辦法讓代碼更簡潔、清晰又高效呢? JavaScript提供了許多現代語法特性,合理使用這些簡寫技巧,不僅能大幅減少代碼量,還能提升可讀性和執行效率。 很多資深前端都在用,這篇文章整理了12 個最實用的 JS 簡寫技巧,並結合實際

vue.js , 運算符 , 賦值 , 默認值 , 前端開發

Jacob Goldman - New WordPress Power Tips For Template Developers And Consultants

It has been a big year for WordPress. If there were still some lingering doubts about its potency as a full-fledged content management system, then the full support for custom taxonomies and custom

wordpress , php , templates , Techniques (WP)

林恆 - 棄用 html2canvas!快 93 倍的截圖神器

🧑‍💻 寫在開頭 點贊 + 收藏 === 學會🤣🤣🤣 在前端開發中,網頁截圖是個常用功能。從前,html2canvas是大家的常客,但隨着網頁越來越複雜,它的性能問題也逐漸暴露,速度慢、佔資源,用户體驗不盡如人意。 好在,現在有了SnapDOM,一款性能超棒、還原度超高的截圖新秀,能完美替代html2canvas,讓截圖不再是麻煩事。 什麼是 SnapDOM SnapDO

前端

Vitaly Friedman - Excellent Book Covers and Paperbacks

Book covers are hard to design and nice to look at. An effective book cover manages to catch human’s eye and convey the idea behind the book on one single page. However, it’s getting even harder: to

Covers , Print , Inspiration

前端胖頭魚 - 如何實現swipe、tap、longTap等自定義事件

前言 移動端原生支持touchstart、touchmove、touchend等事件,但是在平常業務中我們經常需要使用swipe、tap、doubleTap、longTap等事件去實現想要的效果,對於這種自定義事件他們底層是如何實現的呢?讓我們從Zepto.js的touch模塊去分析其原理。您也可以直接查看touch.js源碼註釋 源碼倉庫 原文鏈接 事件簡述 Zepto的touch模

zepto , jquery , html5 , Javascript