Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What I Learned About SVG
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Rachel Ober
February 21, 2014
Programming
0
66
What I Learned About SVG
Rachel Ober
February 21, 2014
Tweet
Share
More Decks by Rachel Ober
See All by Rachel Ober
So, You Want to Organize a Conference
rachelober
0
56
Front End Workshop 2015
rachelober
0
71
Front End Overview for Interns 2015
rachelober
1
51
IE Classes
rachelober
0
51
Front End Overview (2014)
rachelober
0
57
Team Communication Through Code
rachelober
0
83
Responsive Emails
rachelober
0
45
Paperless Post Sass
rachelober
1
93
SassConf Custom Framework/Style Guide Panel
rachelober
0
110
Other Decks in Programming
See All in Programming
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
170
AIエージェントの設計で注意するべきポイント6選
har1101
7
3.3k
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
200
AgentCoreとHuman in the Loop
har1101
5
210
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
280
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
180
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
620
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
1.4k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
5.9k
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
810
AtCoder Conference 2025
shindannin
0
1k
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.1k
First, design no harm
axbom
PRO
2
1.1k
Paper Plane (Part 1)
katiecoart
PRO
0
3.8k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Building AI with AI
inesmontani
PRO
1
660
The Spectacular Lies of Maps
axbom
PRO
1
500
Un-Boring Meetings
codingconduct
0
200
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
How to make the Groovebox
asonas
2
1.9k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Transcript
What I learned about SVG In 5 minutes or less
Scalable Vector Graphics
Goal: Provide both a retina and non-retina solution for our
graphic needs.
None
Product Design
None
120 Lines of Code
120 Lines of Code - 11KB
96 Lines of Code - 9KB
96 Lines of Code - 9KB
None
5 Paths - 8KB
5 Paths - 8KB dramatization of actual events
#svg-full-logo { height: 26px; width: 49px; path { fill: #777;
} } To Manipulate Inline SVG with CSS
None
None
Tips Tricks Gotchas • CSS can only be used on
an inline SVG, not an SVG embedded as an <img> • There’s a new Rails Helper for that! • Need to make sure it has a view port size • Add a class for each path/shape • Preferably add an id for the main SVG