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
82
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
What I Learned About SVG
Rachel Ober
February 21, 2014
More Decks by Rachel Ober
See All by Rachel Ober
So, You Want to Organize a Conference
rachelober
0
68
Front End Workshop 2015
rachelober
0
88
Front End Overview for Interns 2015
rachelober
1
63
IE Classes
rachelober
0
85
Front End Overview (2014)
rachelober
0
85
Team Communication Through Code
rachelober
0
90
Responsive Emails
rachelober
0
58
Paperless Post Sass
rachelober
1
110
SassConf Custom Framework/Style Guide Panel
rachelober
0
130
Other Decks in Programming
See All in Programming
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
940
【やさしく解説 設計編 #1】「ドメイン駆動」と「実装駆動」ってなに? 〜設計の考え方を、たとえ話で学ぼう〜
panda728
PRO
1
120
5分で問診!Composer セキュリティ健康診断
codmoninc
0
270
act1-costs.pdf
sumedhbala
0
230
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
170
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
230
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
130
自作OSでスライド発表する
uyuki234
1
3.8k
共通化で考えるべきは、実装より公開する型だった
codeegg
0
240
フィードバックで育てるAI開発
kotaminato
1
120
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
0
230
AIキャラアプリkaiwaの低遅延音声通話基盤をどう作ったか - AWS Gravitonで支える低遅延・低コストAI Agent基盤
mogamit
0
170
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
180
Raft: Consensus for Rubyists
vanstee
141
7.6k
The Limits of Empathy - UXLibs8
cassininazir
1
500
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
420
Building an army of robots
kneath
306
46k
Claude Code のすすめ
schroneko
67
230k
Test your architecture with Archunit
thirion
1
2.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
A designer walks into a library…
pauljervisheath
211
24k
Design in an AI World
tapps
1
260
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
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