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
Variable Font を使ってみた
Search
▲
July 06, 2021
Design
250
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Variable Font を使ってみた
社内勉強会で使った資料です
▲
July 06, 2021
More Decks by ▲
See All by ▲
サーバーレスでフロントエンドも個人開発
mismith0227
0
430
見落としがちな想定漏れ
mismith0227
0
210
最近のWordPressの開発環境について調べてみた
mismith0227
1
290
gulpをやめてnpm scriptを使う
mismith0227
0
190
Tailwindcssを使ってみる
mismith0227
0
260
カンパイ本町を支える技術
mismith0227
0
3.1k
WP REST APIとReact Nativeを使ってマガジンアプリを作る
mismith0227
1
2.2k
Material - UI v1が 出そうなので使ってみた
mismith0227
0
2.3k
なんか作ってサーバーレスに触れてみた
mismith0227
0
420
Other Decks in Design
See All in Design
デザイナーが主導権を握る、AI協業の本音と実践
satosio
7
3.4k
Saving_the_King_-_Storyboard.pdf
terencebasart
0
250
AI時代に必要な アイデアの形
uxman
0
250
工房としてのAI ── デザイナー、作家、ビルダー
hiranotomoki
0
380
Frontier
rwang05
0
190
速く作れるかではなく、速く学べるか ― 学習ループを回すパイロットの途中報告
nagata03
0
580
【CEDEC2026】『Shadowverse: Worlds Beyond』続編開発におけるUIデザイン・アニメーション演出の「超進化」 ~継承と挑戦を両立するデザイン手法~
cygames
PRO
1
4k
「惜しいデザイン」 を生み出さないための AIレビューループ
0b1tk
3
2.8k
空間アプリ開発のフィードバックをCodexにするための抽象的なデザインツールの模索
karad
0
160
Decksh keywords
ajstarks
0
110
デザインの文脈を理解する:エンジニアがデザインカンファレンスに参加して得た学びと気づき
hypebeans
0
250
染み出し好きの、 染み出しコントロール論
mukai_takeru
0
360
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
40k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Making Projects Easy
brettharned
120
6.7k
Why Our Code Smells
bkeepers
PRO
340
58k
How to build a perfect <img>
jonoalderson
1
5.8k
Utilizing Notion as your number one productivity tool
mfonobong
4
500
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
230
ラッコキーワード サービス紹介資料
rakko
1
4.2M
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
400
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Transcript
7BSJBCMF'POUΛͬͯΈͨ
7BSJBCMF'POU ɾ"EPCFɺ"QQMFɺ(PPHMFɺ.JDSPTPGU͕ ɹ݄ʹൃද ɾ7BSJBCMFʢՄมతͳʣϑΥϯτ ɹͭͷϑΥϯτϑΝΠϧ͔Βଠ͞෯ɺߴ͞ɺ ɹͦͷଞಠࣗͷϓϩύςΟΛ࿈ଓతʹมߋͰ͖Δ ɾ͍࣋ͬͯΔใϑΥϯτʹΑͬͯҧ͏
࿈ଓతͱʁ @font-face { font-family: 'Roboto Regular'; src: url('../fonts/Roboto-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Roboto Bold'; src: url('../fonts/Roboto-Bold.ttf') format('truetype'); } ݱঢ়ಉ͡ϑΥϯτͰଠ͕͞ҧ͑ ͦΕͧΕಡΈࠐΉඞཁ͕͋Δ
࿈ଓతͱʁ .regular { font-size: 48px; font-family: 'Roboto Regular', sans-serif; }
.bold { font-size: 48px; font-family: 'Roboto Bold', sans-serif; } ͦͯ͠ଠ͞ʹΑͬͯࢦఆ͢Δ
࿈ଓతͱʁ @font-face { font-family: 'Roboto Flex'; src: url('../fonts/RobotoFlex[slnt,wdth,wght,opsz].ttf') format('truetype-variations'); font-weight:
100 1000; font-stretch: 25% 151%; } όϦΞϒϧϑΥϯτҰͭͷϑΝΠϧʹ ଠ͞ͳͲͷใ͕શؚͯ·Ε͍ͯΔ
࿈ଓతͱʁ .variable-robot { font-size: 48px; font-family: 'Roboto Flex', sans-serif; font-variation-settings:
'wght' 400, 'wdth' 90, 'GRAD' 1; } ͦͷͨΊ$44ͰΛࢦఆͯ͠ ଠͦ͞ͷଞϑΥϯτ͕࣋ͭใΛͳͲͰมߋͰ͖Δ
࣮ࡍʹͬͯΈͨ
ϒϥβঢ়گ *&͓·͑ϚδͰʜ
(PPHMF'POUT ݄ʹߜΓࠐΈͷνΣοΫϘοΫε͕Ճ͞ΕͨΒ͍͠
"OJDPOT
7BSJBCMF'POUͲ͏ͳͷ ɾಡΈࠐΉϑΥϯτϑΝΠϧҰͭʹͳΔ ɾϑΥϯτͷΞχϝʔγϣϯදݱͷ෯͕͕Δ ɾϞϦαϫ͕จͷ։ൃΛͯ͠ΔΒ͍͠ ɾීٴ·ͩ·ͩઌʜʁ
৽͍ٕ͠ज़ʹ৮ΕΔͷ ָ͍͠ͷͰͬͯΈΑ͏
͓ΘΓ