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
64
IE Classes
rachelober
0
85
Front End Overview (2014)
rachelober
0
86
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
Claude Team Plan導入・ガイド
tk3fftk
0
210
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
3
1.5k
yield再入門 #phpcon
o0h
PRO
0
540
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.2k
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
900
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
1.1k
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
170
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
140
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
110
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
8
4.4k
地域 SRE コミュニティ最前線 - ホンマでっかSRE勉強会
tk3fftk
0
250
PHPだって関数型したい 〜できること、できないこと〜 / fp-in-php
jsoizo
0
220
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Design in an AI World
tapps
1
260
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
460
Tell your own story through comics
letsgokoyo
1
1k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
260
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
What's in a price? How to price your products and services
michaelherold
247
13k
The SEO identity crisis: Don't let AI make you average
varn
0
520
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Practical Orchestrator
shlominoach
191
11k
Code Reviewing Like a Champion
maltzj
528
40k
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