$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What I Learned About SVG
Search
Rachel Ober
February 21, 2014
Programming
0
61
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
54
Front End Workshop 2015
rachelober
0
69
Front End Overview for Interns 2015
rachelober
1
48
IE Classes
rachelober
0
50
Front End Overview (2014)
rachelober
0
53
Team Communication Through Code
rachelober
0
79
Responsive Emails
rachelober
0
43
Paperless Post Sass
rachelober
1
91
SassConf Custom Framework/Style Guide Panel
rachelober
0
110
Other Decks in Programming
See All in Programming
複数人でのCLI/Infrastructure as Codeの暮らしを良くする
shmokmt
5
2.3k
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
6
2.1k
AIコーディングエージェント(Manus)
kondai24
0
170
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
1k
connect-python: convenient protobuf RPC for Python
anuraaga
0
400
FluorTracer / RayTracingCamp11
kugimasa
0
230
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
240
Cell-Based Architecture
larchanjo
0
110
dnx で実行できるコマンド、作ってみました
tomohisa
0
140
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
11
11k
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
400
dotfiles 式年遷宮 令和最新版
masawada
1
750
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
Typedesign – Prime Four
hannesfritz
42
2.9k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.1k
Side Projects
sachag
455
43k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
700
Navigating Team Friction
lara
191
16k
Scaling GitHub
holman
464
140k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Producing Creativity
orderedlist
PRO
348
40k
Docker and Python
trallard
47
3.7k
Code Review Best Practice
trishagee
74
19k
Speed Design
sergeychernyshev
33
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