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
Rachel Ober
February 21, 2014
Programming
0
44
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
44
Front End Workshop 2015
rachelober
0
64
Front End Overview for Interns 2015
rachelober
1
39
IE Classes
rachelober
0
46
Front End Overview (2014)
rachelober
0
39
Team Communication Through Code
rachelober
0
69
Responsive Emails
rachelober
0
38
Paperless Post Sass
rachelober
1
81
SassConf Custom Framework/Style Guide Panel
rachelober
0
96
Other Decks in Programming
See All in Programming
Kubernetesで実現できるPlatform Engineering の現在地
nwiizo
3
1.9k
Signal-Based Data FetchingWith the New httpResource
manfredsteyer
PRO
0
160
Devin入門と最近のアップデートから見るDevinの進化 / Introduction to Devin and the Evolution of Devin as Seen in Recent Update
rkaga
9
4.8k
Compose Hot Reload is here, stop re-launching your apps! (Android Makers 2025)
zsmb
1
480
海外のアプリで見かけたかっこいいTransitionを真似てみる
shogotakasaki
1
160
Devinのメモリ活用の学びを自社サービスにどう組み込むか?
itarutomy
0
2.1k
これだけは知っておきたいクラス設計の基礎知識 version 2
masuda220
PRO
24
6.1k
Defying Front-End Inertia: Inertia.js on Rails
skryukov
0
460
php-fpm がリクエスト処理する仕組みを追う / Tracing-How-php-fpm-Handles-Requests
shin1x1
5
2.9k
AI Agents with JavaScript
slobodan
0
220
英語 × の私が、生成AIの力を借りて、OSSに初コントリビュートした話
personabb
0
190
フロントエンドテストの育て方
quramy
11
2.9k
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Testing 201, or: Great Expectations
jmmastey
42
7.4k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.5k
A designer walks into a library…
pauljervisheath
205
24k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
390
Building Applications with DynamoDB
mza
94
6.3k
A Tale of Four Properties
chriscoyier
158
23k
Become a Pro
speakerdeck
PRO
27
5.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.4k
Optimizing for Happiness
mojombo
377
70k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
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