Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Layout with CSS - display : flex;
Search
Masateru YOSHIMURA
June 16, 2020
Programming
2.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Layout with CSS - display : flex;
display : flex;
Masateru YOSHIMURA
June 16, 2020
More Decks by Masateru YOSHIMURA
See All by Masateru YOSHIMURA
Digital Design 2022-02
mathatelle
0
400
Digital Design 2022-01
mathatelle
0
290
Yoshimura Lab. 2022
mathatelle
0
1.4k
create-website-html-2021
mathatelle
0
170
Multiple pages
mathatelle
0
730
How to design the individual page
mathatelle
1
130
CodePen: Making your portfolio 2021
mathatelle
0
170
single page
mathatelle
0
900
How to optimize images for Better Web Design
mathatelle
0
2.2k
Other Decks in Programming
See All in Programming
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
sbt 2.0: takeoff
eed3si9n
0
160
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
Jetpack Compose Mechanisms
skydoves
3
820
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Workers Cache を知る
syumai
0
360
Featured
See All Featured
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
The Limits of Empathy - UXLibs8
cassininazir
2
720
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Code Review Best Practice
trishagee
74
20k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Designing Experiences People Love
moore
143
24k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Transcript
$44ʹΑΔϨΠΞτ
ͳͥϨΠΞτ͕ॏཁ͔ʁ wΣϒαΠτΛར༻͢ΔਓԿΒ͔ͷใΛ୳͍ͯ͠Δɻ wͦͷใΛ୳͘͢͢͠Δͷ͕ΣϒσβΠφʔͷࣄͰ͋Δɻ w୳͘͢͢͠ΔͨΊʹɺϨΠΞτͷٕज़͕ඞཁͱͳΔɻ
IUUQT[P[PKQTQ Ұཡϖʔδ ৄࡉϖʔδ ྫ ཉ͍͠Λ ୳ͯ͠ɺ ৄ͘͠ ݟΔɻ ങ͏ɻ
IUUQTXXXZPVUVCFDPNDIBOOFM6$4)QSYC5*8(,;[L3D"WJEFPT Ұཡϖʔδ ৄࡉϖʔδ ྫ ݟΔɻௌ͘ɻ ݟ͍ͨ ಈըΛ ୳ͯ͠ɺ
Ұཡϖʔδ Ϣʔβʔ͕ ใΛޮΑ͘ ୳ͤΔΑ͏ʹɺ ۉҰʹฒ͍ͯΔɻ ࠓճ͜ͷΑ͏ͳ Ұཡϖʔδͷ࡞ΓํΛ ֶͼ·͢ɻ
࡞Δͱ͖ͷߟ͑ํ w·ͣɺͭͷΞΠςϜʢಈըʣ͕ೖΔശΛ४උ͢Δ wശʹίϯςϯπʢը૾จࣈʣΛೖΕΔ wശΛ૿͢ wശΛԣʹฒΔ ͜ͷ͋ͱ۩ମతʹઆ໌͍͖ͯ͠·͢ɻ
ը૾ จࣈ ͭͷ ΞΠςϜ ͭͷΞΠςϜʢಈըͳͲʣը૾ͱจࣈͰߏ͞ΕΔ͜ͱ͕ଟ͍
ը૾ͱจࣈ͕ೖΔശΛ४උͯ͠ɺͦ͜ʹίϯςϯπʢը૾จࣈʣΛೖΕΔ ը૾ͷೖΔ ശ จࣈͷೖΔ ശ ͜ΕΒΛ·ͱΊͨ֎ശ ը૾ จࣈ
ശΛ૿͢ ը૾ จࣈ ը૾ ശ૿͢ͱɺ ԼͷํʹฒͿɻ ԣʹฒΔʹʁ
ശΛԣʹฒΔ ը૾ จࣈ ը૾ จࣈ ը૾ จࣈ ը૾ ·ͣɺฒ͍ͨͷΛ େ͖ͳശʹೖΕΔɻ
ͦͷ͋ͱɺ େ͖ͳശʹରͯ͠ ʮதΛԣʹฒͯʯ ͱ͍͏ࢦࣔΛ͢Δͱɺ ͜ͷΑ͏ʹฒΜͰ͘ΕΔɻ ˞ฒ͍ͨͷʹ ʮฒΜͰʯͱݴͬͯ ฒΜͰ͘Εͳ͍ͷͰҙ͠Α͏ɻ ͋͞ɺ͜͜·ͰͷखॱΛ )5.-ͱ$44Ͱදݱ͍͖ͯ͠·͢ɻ
ը૾ͱจࣈ͕ೖΔശΛ४උͯ͠ɺͦ͜ʹίϯςϯπʢը૾จࣈʣΛೖΕΔ ը૾ͷೖΔശ จࣈͷೖΔശ ͜ΕΒΛ·ͱΊͨ֎ശ λΠΨʔΤοά .item ͱೖྗͯ͠λϒΩʔΛԡ͢ͱɺ <div class="item"></div> )5.-Ͱද͢
ശ DMBTTΛͬͯശʹ໊લΛ͚Δɻ ޙʑͷελΠϦϯάͷͨΊɺ ശʹΘ͔Γ໊͍͢લΛ͚Δɻ ໊લʹϧʔϧͳ͘ɺࣗͰܾΊΔɻ ֎ശʹʮJUFNʯͱ͍͏໊લΛ͚Α͏ ͱల։͞ΕΔɻ ͜ͷதʹɺ ͭͷശΛ࡞Δɻ ΠϥετIUUQTQVCMJDEPNBJOWFDUPSTPSH͔Βμϯϩʔυͨ͠ஶ࡞ݖϑϦʔͷͷͰ͢ɻ Α͘ݟ͍ͯͩ͘͞ʂ͋ͨ·ʹυοτ͕͍͍ͯ·͢
ը૾ͱจࣈ͕ೖΔശΛ४උͯ͠ɺͦ͜ʹίϯςϯπʢը૾จࣈʣΛೖΕΔ ը૾ͷೖΔശ จࣈͷೖΔശ ͜ΕΒΛ·ͱΊͨ֎ശ λΠΨʔΤοά <div class="item"> <div class="item-image"></div> <div
class="item-text"></div> </div> )5.-Ͱද͢ ͜ͷശʹʮJUFNJNBHFʯͱ͍͏໊લΛ͚Α͏ ͜ͷശʹʮJUFNUFYUʯͱ͍͏໊લΛ͚Α͏ ͜ΕΒͷ ശʹ ίϯςϯπΛ ೖΕΔɻ
ը૾ͱจࣈ͕ೖΔശΛ४උͯ͠ɺͦ͜ʹίϯςϯπʢը૾จࣈʣΛೖΕΔ ը૾ͷೖΔശ จࣈͷೖΔശ ͜ΕΒΛ·ͱΊͨ֎ശ λΠΨʔΤοά <div class="item"> <div class="item-image"> <img
src="*****1.png" alt=""> </div> <div class="item-text"> λΠΨʔΤοά </div> </div> )5.-Ͱද͢ ͦΕͧΕͷശʹ ίϯςϯπΛೖΕΔɻ ͜Εͱಉ͡ߏͷΞΠςϜΛ ͋ͱͭ࡞͠Α͏ɻ ίϐϖͯ͠ɺίϯςϯπͷΈΛ ࠩ͠ସ͑Δͱ͘Ͱ͖Δɻ
ശΛ૿͢ λΠΨʔΤοά <div class="item"> <div class="item-image"> <img src="*****1.png" alt=""> </div>
<div class="item-text"> λΠΨʔΤοά </div> </div> )5.-Ͱද͢ Ϩουϋοτ <div class="item"> <div class="item-image"> <img src="*****2.png" alt=""> </div> <div class="item-text"> Ϩουϋοτ </div> </div> ίϐϖͯ͠ίϯςϯπΛࠩ͠ସ͑
ശΛԣʹฒΔ λΠΨʔΤοά <div class="item"> <div class="item-image"> <img src="*****1.png" alt=""> </div>
<div class="item-text"> λΠΨʔΤοά </div> </div> <div class="item"> <div class="item-image"> <img src="*****2.png" alt=""> </div> <div class="item-text"> Ϩουϋοτ </div> </div> )5.-Ͱ ελΠϦϯάͷ४උ Ϩουϋοτ <div class="items"> </div> ฒ͍ͨͷΛେ͖ͳശʹೖΕΔ ऴྃλάΛΕͳ͍Α͏ʹ͠Α͏ େശͷ໊લΛ͚Δɻ DPOUBJOFS XSBQQFSͰྑ͍ɻ
ശΛԣʹฒΔ $44ͰϨΠΞτ λΠΨʔΤοά Ϩουϋοτ .items { display: flex; } Ұ൪֎ͷେശʹରͯ͠
DMBTT໊ͷࢦࣔʹ ಄ʹυοτΛ͚Δɻ ʮதΛԣʹฒͯʯͱࢦࣔ df tab ԣʹฒΜͩʂ
<div class="item"> <div class="item-image"> <img src="*****1.png" alt=""> </div> <div class="item-text">
λΠΨʔΤοά </div> </div> <div class="item"> <div class="item-image"> <img src="*****2.png" alt=""> </div> <div class="item-text"> Ϩουϋοτ </div> </div> <div class="items"> </div> λΠΨʔΤοά Ϩουϋοτ w ରԠؔΛཧղ͠Α͏ɻ w ߏΛݟ͘͢͢ΔͨΊɺ)5.-ʹ֯εϖʔεͰΠϯσϯτΛೖΕΑ͏ɻ ਤͱ ίʔυͷ ରԠؔ
ల։લ ల։ޙ ԣʹฒΔ df display : flex ંΓฦ͢ fxww flex-wrap
: wrap; ௨ৗɺ͜ͷͭΛηοτͰࢦఆ͠·͢ɻ ͜ͷࢦఆΛ͢Δͷɺฒ͍ͨͷͰͳ͘ɺฒ͍ͨͷͷʮʯͰ͋Δ͜ͱʹҙ͠Α͏ɻ ઃఆํ๏ ശΛԣʹฒΔ
·ͱΊ wίϯςϯπ͕ೖΔശΛEJWλάͰද͢ɻ wEJWλάʹͦΕ͕ԿͰ͋Δ͔Θ͔ΔΑ͏ʹDMBTTͰ໊લΛ͚Δɻ wIBλάʹDMBTTͰ໊લΛ͚Δ͜ͱ͕Ͱ͖Δɻ wEJTQMBZqFYͰͦͷଆʹ͋ΔശΛฒΔ͜ͱ͕Ͱ͖Δɻ wqFYXSBQXSBQͰͦͷଆʹ͋ΔശΛંΓฦ͢͜ͱ͕Ͱ͖Δɻ w)5.-λάͷߏ͕ෳࡶʹͳΔͷͰɺίϐϖϛεʹҙ͠Α͏ɻ wDMBTT໊λάͷೖΕࢠؔΛؒҧ͑ͨΓɺऴྃλά͕Γͳ͍߹ʹɺ͏·͍͖͘·ͤΜɻ ϏσΦΛݟͳ͕Β$PEF1FOͰͬͯΈΑ͏ʂ