tag svg

標籤
貢獻53
80
06:37 AM · Oct 27 ,2025

@svg / 博客 RSS 訂閱

hezhongfeng - 模仿北京健康寶動畫

模仿北京健康寶動畫 北京健康寶有一個動畫,一圈小球,沿着正方形順時針滾動,並且顏色是漸變的,像下圖的這樣 提取出以下關鍵信息: 小球沿着矩形順時針連續滾動,小球的間距是均勻的 小球在矩形直角的時候會沿着直角滾動,過渡順滑 小球的顏色有一些漸變,並且會隨着小球的位置而改變,左上角的一直都是深色的,右下一直是淺色的 邊框實現 想模仿實現這個動畫,最先想到的是使用邊框,想使用虛線邊框實現,找

動畫 , Css , svg動畫 , 前端 , svg

收藏 評論

Andy Clarke - Smashing Animations Part 5: Building Adaptive SVGs With <symbol>, <use>, And CSS Media Queries

I’ve written quite a lot recently about how I prepare and optimise SVG code to use as static graphics or in animations. I love working with SVG, but there’s always been something about them that bug

animation , Css , Design , svg

收藏 評論

Adrian Bece - Lesser-Known And Underused CSS Features In 2022

After reading Louis Lazaris’ insightful article “Those HTML Attributes You Never Use”, I’ve asked myself (and the community) which properties and selectors are lesser-known or should be used more of

performance , optimization , Css , svg

收藏 評論

xiaoluoboding - 《SVG 動畫開發實戰》- 🤟 Vue + GSAP 實戰

🤟 Vue + GSAP 實戰 在學習過基礎 SVG 動畫原理後,如果結合我們熟悉的技術棧使用豈不是更爽。GSAP 提供了 npm 安裝包,下面我們來在 Vue 項目中集成 GSAP。 安裝 GSAP yarn add gsap -S // or npm i gsap -S 在 Vue 組件中使用 GSAP 假設我們讓一個矩形旋轉 240 度,無限循環。 template div id="a

animation , svg動畫 , Javascript , svg

收藏 評論

liutao988 - HSSFColor的索引顏色

本文介紹和比較幾種常見圖片文件格式的優缺點,並介紹不同的文件格式對Web應用程序性能的影響。 有損vs無損 圖片文件格式有可能會對圖片的文件大小進行不同程度的壓縮,圖片的壓縮分為有損壓縮和無損壓縮兩種。 有損壓縮。指在壓縮文件大小的過程中,損失了一部分圖片的信息,也即降低了圖片的質量,並且這種損失是不可逆的,我們不可能從有一個有損壓縮過的圖片中恢復出全

HSSFColor的索引顏色 , 大數據 , 圖片格式 , 數據倉庫 , 文件大小 , svg

收藏 評論

Myriam Frisano - SVG Coding Examples: Useful Recipes For Writing Vectors By Hand

Even though I am the kind of front-end engineer who manually cleans up SVG files when they are a mess, I never expected to become one of those people. You know, those crazy people that draw with cod

Guides , coding , svg

收藏 評論

blueice - 如何使用SVG及其動畫技術為你的 Web 前端開發帶來一些新鮮的體驗

SVG(可縮放矢量圖形)動畫在現代前端開發中應用廣泛,但性能問題常導致頁面卡頓。本文基於 gh_mirrors/fr/frontend-stuff 項目,測試主流 SVG 動畫庫的渲染速度,幫助開發者選擇最優方案。 測試環境與工具 測試環境基於項目配置,核心依賴包括: Recharts(v3.3.0):用於數據可視化的 SVG 圖表庫,pack

幀率 , 重繪 , Css , 前端開發 , HTML , svg

收藏 評論

Sarah Drasner - A Few Different Ways To Use SVG Sprites In Animation

There are some things we know and like about SVGs. First, SVGs have smooth, clean edges on any display, so using SVGs can reduce the number of HTTP requests for image replacement. Second, it’s easy

Responsive Design , coding , Css , svg

收藏 評論

網線小遊俠 - Raphael一個用於在網頁中繪製矢量圖形的Javascript庫

Paper.js是一個功能強大的開源矢量圖形腳本庫,被譽為"矢量圖形腳本的多功能工具"。這個JavaScript庫能夠幫助開發者在瀏覽器中輕鬆創建複雜的矢量圖形和動畫效果,是Web圖形開發的終極工具。 什麼是Paper.js?為什麼選擇它? Paper.js是一個基於HTML5 Canvas的矢量圖形庫,它將Scriptographe

矢量圖 , 前端開發 , html5 , Javascript , svg

收藏 評論

信息小飛俠 - SVG 優化探索 - AlloyTeam 技術專欄

Bootstrap Icons SVG屬性優化:提升渲染性能 你是否遇到過網頁圖標加載緩慢、渲染卡頓的問題?尤其是在移動設備上,大量SVG圖標可能導致頁面響應延遲。本文將深入解析Bootstrap Icons項目如何通過SVG屬性優化提升渲染性能,讓你掌握一套可複用的圖標優化方案。讀完本文你將瞭解:SVG屬性優化的核心原理、Boot

ico , bootstrap , 後端開發 , harmonyos , svg

收藏 評論

Nico Brünjes - The Safari Problem With SVG Sprites (Now Fixed)

Update (19.05.2016): The bug was just fixed by Antti Koivisto and has landed in the current update of iOS (9.3.2) and Safari for OS X 9.1.1 (11601.6.17). When a user visits a site using a SVG sprite

Sprites , coding , svg

收藏 評論

xiaoluoboding - 《SVG 動畫開發實戰》 - 🖼️ SVG 圖案動畫(Pattern)

🖼️ SVG 圖案動畫(Pattern) 想要在Web頁面中繪製背景圖案,我們首先可能想到的是使用 CSS,可能你也有所嘗試,比如簡單的漸變到複雜的網格、點陣等,SVG 中也有繪製背景圖案的解決方案。 SVG 中 fill 屬性支持以 pattern 方式填充一個圖案,Pattern 也是一個強大的元素聲明,如果圖案設計的比較完美,那麼會輕易得到一個無縫銜接的圖案。像這樣: 原理 在 Web

animation , svg動畫 , Javascript , svg

收藏 評論

Chris Coyier - SVG Fallback, Vertical Rhythm, CSS Project Structure

Howdy, folks! Welcome to more Smashing Magazine CSS QA. It works like this: you send in questions you have about CSS, and at least once a month we’ll pick out the best questions and answer them so t

Responsive Design , coding , Css , svg

收藏 評論

Adrian Bece - Easy SVG Customization And Animation: A Practical Guide

Scalable Vector Graphics (SVG) have been a staple in Web Development for quite some time, and for a good reason. They can be scaled up or down without loss of quality due to their vector properties.

animation , Guides , coding , svg

收藏 評論

David Rousset - How To Create A Responsive 8-Bit Drum Machine Using Web Audio, SVG And Multitouch

In this little tutorial, I’m going to share some tips I recently followed to build a fun demo for the Build 2016 conference. The idea was to create a small 8-bit drum machine, with 8-bit sounds and

Tools , Web Audio , coding , svg

收藏 評論

Cosima Mielke - Tools And Resources For Editing, Converting And Optimizing SVGs

The power of SVGs lies in their flexibility to adapt to any size while remaining crisp and sharp. This makes them perfect for responsive web design and, since users can zoom in without sacrificing q

animation , Tools , svg

收藏 評論

Mihai Cora - Creating Custom Lottie Animations With SVGator

This article has been kindly supported by our dear friends at SVGator, who are passionate about designing and producing unique, high-quality, and unforgettable animations. Thank you! SVGato

animation , Design , svg

收藏 評論

Matthew Talebi - Adding Time To Your Schedule As A Professional

This article has been kindly supported by our dear friends at Trafft whose mission is to help people automate the booking part of their business — whether they are solo entrepreneurs or enterpris

workflow , Tools , svg

收藏 評論

計育韜 - 微博,也支持SVG啦!(附內測申請🧐)

一個壞消息,品牌方的內卷新賽道又誕生了。 一個更好也可能更壞的消息,(新浪)微博與微信公眾號生態的 SVG 語法框架形式有較大差異。 但有個值得一提好消息是,據瞭解E2.COOL 黑科技 SVG 編輯器已經開始上架微博 SVG Beta 專用模版。 究竟怎麼回事?先行科普一下。 大家好我是交互設計師計育韜,首先非常感謝微博的這次 40+ 專業用户內測邀約活動。雖然我是其中唯一的技術側(其他均為平

微博應用 , 微信公眾號開發 , 微信公眾號 , svg動畫 , svg

收藏 評論

Sara Soueidan - Styling And Animating SVGs With CSS

Why is it so important to optimize your SVGs? Also, why even put in the effort to make them accessible? In this article, Sara Soueidan explais why, and also how to style and animate with CSS. CSS c

Techniques , coding , Css , svg

收藏 評論

Dennis Gaebel Jr - Animating Clipped Elements In SVG

Scalable Vector Graphics (or SVG) lend developers an incredible ability to display crisp, beautiful graphics at any size or resolution. SVG can also be animated using various techniques. In combinat

animation , coding , Responsive Images , svg

收藏 評論

Cosima Mielke - Magical SVG Techniques

SVGs have become more and more popular in the past few years. For good reasons. They are scalable, flexible, and, most importantly, lightweight. And, well, they have even more to offer than you migh

Round-Ups , Resources , svg

收藏 評論