SlideShare a Scribd company logo
in the web application era
Layout Saga
1
#CSSDAY - Faenza 2018 @Violo - extrategy
Alessandro Violini
coding to work out
Interface Developer
Interaction Designer
Retro Computer Collector
Drummer
22
https://joind.in/event/cssday-2018
#CSSDAY - Faenza 2018 @Violo - extrategy
Layout
3
#CSSDAY - Faenza 2018 @Violo - extrategy
Layout:
is the part of graphic design that
deals in the arrangement of
visual elements on a page
4
wikipedia
#CSSDAY - Faenza 2018 @Violo - extrategy
Web Application
5
#CSSDAY - Faenza 2018 @Violo - extrategy
Web Application:
is a client-server computer program
in which the client, including the
user interface and client-side logic,
runs in a web browser
6
wikipedia
#CSSDAY - Faenza 2018 @Violo - extrategy
Web Application has
functionality similar to
desktop software or mobile
application
7
wikipedia
#CSSDAY - Faenza 2018 @Violo - extrategy8
#CSSDAY - Faenza 2018 @Violo - extrategy
single page application
multiple DOM tree
shadow DOM
view encapsulation
scrolling content
9
#CSSDAY - Faenza 2018 @Violo - extrategy10
#CSSDAY - Faenza 2018 @Violo - extrategy11
Page flow
#CSSDAY - Faenza 2018 @Violo - extrategy12
#CSSDAY - Faenza 2018 @Violo - extrategy13
Scrolling content
#CSSDAY - Faenza 2018 @Violo - extrategy
Saga
14
#CSSDAY - Faenza 2018 @Violo - extrategy15
#CSSDAY - Faenza 2018 @Violo - extrategy
position: fixed;
16
914 16 26 13 6
old browser compatibility use of “calc” value for operation
#CSSDAY - Faenza 2018 @Violo - extrategy17
position: fixed;
Qui era presente uno screen recording in cui veniva
mostrato il layout e lo stile.
Il video lo trovi su youtube all’indirizzo:
https://youtu.be/2RXMFevwzYE
O su GitHub:

https://github.com/Violo/layout-saga
#CSSDAY - Faenza 2018 @Violo - extrategy
position: fixed;
18
814 29 15 13 6
old browser compatibility
IE8 included
no need of “calc”
IE 8 needs modernize for HTMLH 5 tag
awkward system
with “padding” wrapper
#CSSDAY - Faenza 2018 @Violo - extrategy19
position: fixed;
Qui era presente uno screen recording in cui veniva
mostrato il layout e lo stile.
Il video lo trovi su youtube all’indirizzo:
https://youtu.be/u0QnFa5Q04o
O su GitHub:

https://github.com/Violo/layout-saga
#CSSDAY - Faenza 2018 @Violo - extrategy
position: absolute;
20
914 16 26 13 6
nestable layout
automatic scrolling content
use of both “top” & “bottom”
use of “~” for scroll detection
#CSSDAY - Faenza 2018 @Violo - extrategy21
position: absolute;
Qui era presente uno screen recording in cui veniva
mostrato il layout e lo stile.
Il video lo trovi su youtube all’indirizzo:
https://youtu.be/wyqcMvDwSMw
O su GitHub:

https://github.com/Violo/layout-saga
#CSSDAY - Faenza 2018 @Violo - extrategy
position: absolute;
22
914 29 29 22 8
nestable layout
automatic scrolling content
use of both “top” & “bottom”
use of “~” for scroll detection
use of “vw" & “vh”
with viewport relative units
#CSSDAY - Faenza 2018 @Violo - extrategy
position: absolute;
23
914 29 29 22 8
nestable layout
automatic scrolling content
float behavior for responsiveness
use of both “top” & “bottom”
use of “~” for scroll detection
use of “vw" & “vh”
with float
#CSSDAY - Faenza 2018 @Violo - extrategy
display: flex;
24
1116 58 51 22 9
light and clean code (30% lighter!)
easy responsive set up
no need to manage scrolling content
browser compatibility
flex-direction: column
#CSSDAY - Faenza 2018 @Violo - extrategy25
display: flex;
Qui era presente uno screen recording in cui veniva
mostrato il layout e lo stile.
Il video lo trovi su youtube all’indirizzo:
https://youtu.be/9-Dn4A-PmbM
O su GitHub:

https://github.com/Violo/layout-saga
#CSSDAY - Faenza 2018 @Violo - extrategy
display: grid;
26
11*16 58 62 11
light and clean code (50% lighter!)
easy responsive set up
no need to manage scrolling content
very clean and semantic html
browser compatibility
#CSSDAY - Faenza 2018 @Violo - extrategy27
display: grid;
Qui era presente uno screen recording in cui veniva
mostrato il layout e lo stile.
Il video lo trovi su youtube all’indirizzo:
https://youtu.be/HwksycRdEmg
O su GitHub:

https://github.com/Violo/layout-saga
#CSSDAY - Faenza 2018 @Violo - extrategy
table
28
18 26 6
nestable layout all the rest
13
#CSSDAY - Faenza 2018 @Violo - extrategy29
table
Qui era presente uno screen recording in cui veniva
mostrato il layout e lo stile.
Il video lo trovi su youtube all’indirizzo:
https://youtu.be/GIC3cjJe6xA
O su GitHub:

https://github.com/Violo/layout-saga
#CSSDAY - Faenza 2018 @Violo - extrategy30
Avoid framework dependencies
#CSSDAY - Faenza 2018 @Violo - extrategy31
Layout as a pattern
#CSSDAY - Faenza 2018 @Violo - extrategy
code is less important than
the why we write code
32
#CSSDAY - Faenza 2018 @Violo - extrategy
Thanks!
33
@Violo
github.com/Violo
extrategy.net/it/alessandro-violini
https://joind.in/event/cssday-2018

More Related Content

PDF
DroidKaigi 2018報告会(公式アプリへのコントリビュート)
PPTX
Focusing on A and E in Chromatic Scale - Jenia Barabanov
PDF
[Google I/O 2018 Highlights] Flutter / WearOS
PDF
Git and GitHub for RallyOn
PDF
Google I/O 2018 KeynoteとDeveloper KeynoteのOverview
PPTX
Online Media Content
PDF
Git work flow
PPTX
Introduction to Gitea with Drone
DroidKaigi 2018報告会(公式アプリへのコントリビュート)
Focusing on A and E in Chromatic Scale - Jenia Barabanov
[Google I/O 2018 Highlights] Flutter / WearOS
Git and GitHub for RallyOn
Google I/O 2018 KeynoteとDeveloper KeynoteのOverview
Online Media Content
Git work flow
Introduction to Gitea with Drone

What's hot (8)

PDF
Introduction to git flow
PPTX
A painless self-hosted Git service: Gitea
ODP
Ubuntu Opportunistic Programming (Europython 2011)
PDF
Practical Android Course Part I - Introduction, Activities (KNI)
PDF
ブロックのカスタマイズ、基本の“キ”
PDF
漆喰(Stucco)テーマの第一歩(again)
PDF
PDF
漆喰(Stucco)テーマの第一歩
Introduction to git flow
A painless self-hosted Git service: Gitea
Ubuntu Opportunistic Programming (Europython 2011)
Practical Android Course Part I - Introduction, Activities (KNI)
ブロックのカスタマイズ、基本の“キ”
漆喰(Stucco)テーマの第一歩(again)
漆喰(Stucco)テーマの第一歩
Ad

Similar to CSS day 2018 - Layout Saga in the web application era (20)

PDF
Amazing vue.js projects that are open source and free.
PDF
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
PDF
Go for Mobile Games
PDF
JCON 2021 talk - "Wil Git Be Around Forever? A List of Possible Successors"
PDF
Will Git Be Around Forever? A List of Possible Successors
PPTX
Deploy Node.js application in Heroku using Eclipse
PDF
Developer Training for 23 Video
PDF
Multimedia in WebKitGtk+, past/present/future
PDF
How to get trusted AI in your favorite IDE
PPTX
Golang 101 for IT-Pros - Cisco Live Orlando 2018 - DEVNET-1808
PPTX
Intro to Git Devnet-1080 Cisco Live 2018
PPTX
PREPTEMBER.pptx
PDF
Embedding Chromium into AGL demo platform with WAM
PPTX
JavaScript All The Things
PDF
Isolating GPU Access in its Own Process
PPTX
Sitecore SPEAK3 presentation
PPTX
How to start SPEAK3 development
PDF
20250403-trusted-ai-favorite-ide-javaland.pdf
PDF
Welovejs AngularJS
PPTX
Fairfax Sydney #mojo #mojocon Feb 2017 Meetup - 360 video production basics
Amazing vue.js projects that are open source and free.
"Will Git Be Around Forever? A List of Possible Successors" at UtrechtJUG
Go for Mobile Games
JCON 2021 talk - "Wil Git Be Around Forever? A List of Possible Successors"
Will Git Be Around Forever? A List of Possible Successors
Deploy Node.js application in Heroku using Eclipse
Developer Training for 23 Video
Multimedia in WebKitGtk+, past/present/future
How to get trusted AI in your favorite IDE
Golang 101 for IT-Pros - Cisco Live Orlando 2018 - DEVNET-1808
Intro to Git Devnet-1080 Cisco Live 2018
PREPTEMBER.pptx
Embedding Chromium into AGL demo platform with WAM
JavaScript All The Things
Isolating GPU Access in its Own Process
Sitecore SPEAK3 presentation
How to start SPEAK3 development
20250403-trusted-ai-favorite-ide-javaland.pdf
Welovejs AngularJS
Fairfax Sydney #mojo #mojocon Feb 2017 Meetup - 360 video production basics
Ad

More from extrategy (20)

PDF
Un approccio Frameworkless per sviluppare la tua Single Page Application
PDF
L'arte di massimizzare la quantità di lavoro non svolto
PDF
Adaptive planning
PDF
Usare i Design System - Un approccio Frameworkless per la tua Web Application
PDF
Il Pair Coaching come evoluzione professionale e personale
PDF
L’arte di massimizzare la quantità di lavoro non svolto
PDF
Learning over Delivery: il business e l'innovazione ai tempi della complessità
PDF
Mini IAD Torino: Il collante strategico durante lo sviluppo: Continuous Disco...
PDF
IAD17 Il collante strategico durante lo sviluppo: Continuous Discovery
PDF
Real time project portfolio management
PDF
Dalle Styleguide alla Pattern Libraries: cosa serve e quando
PDF
Web design patterns nell'era della digital transformation
PDF
visione e immaginazione: dove vogliamo portare le nostre aziende domani?
PDF
Real time strategy for you
PDF
come il front-end automation aiuta tutto il team
PDF
Inclusiveness, openness, leanness: dove voglio portare l’azienda?
PDF
Innovazione. ovvero, le imprese non sono più quelle di una volta.
PDF
ModulAngular
PDF
Co-creare una strategia con Lego Serious Play
PDF
Condividere obiettivi e prendere decisioni con Lego Serious Play
Un approccio Frameworkless per sviluppare la tua Single Page Application
L'arte di massimizzare la quantità di lavoro non svolto
Adaptive planning
Usare i Design System - Un approccio Frameworkless per la tua Web Application
Il Pair Coaching come evoluzione professionale e personale
L’arte di massimizzare la quantità di lavoro non svolto
Learning over Delivery: il business e l'innovazione ai tempi della complessità
Mini IAD Torino: Il collante strategico durante lo sviluppo: Continuous Disco...
IAD17 Il collante strategico durante lo sviluppo: Continuous Discovery
Real time project portfolio management
Dalle Styleguide alla Pattern Libraries: cosa serve e quando
Web design patterns nell'era della digital transformation
visione e immaginazione: dove vogliamo portare le nostre aziende domani?
Real time strategy for you
come il front-end automation aiuta tutto il team
Inclusiveness, openness, leanness: dove voglio portare l’azienda?
Innovazione. ovvero, le imprese non sono più quelle di una volta.
ModulAngular
Co-creare una strategia con Lego Serious Play
Condividere obiettivi e prendere decisioni con Lego Serious Play

Recently uploaded (20)

PPTX
Digital Literacy And Online Safety on internet
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
artificialintelligenceai1-copy-210604123353.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
Digital Literacy And Online Safety on internet
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
Introuction about ICD -10 and ICD-11 PPT.pptx
PptxGenJS_Demo_Chart_20250317130215833.pptx
Mathew Digital SEO Checklist Guidlines 2025
WebRTC in SignalWire - troubleshooting media negotiation
Tenda Login Guide: Access Your Router in 5 Easy Steps
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
international classification of diseases ICD-10 review PPT.pptx
artificialintelligenceai1-copy-210604123353.pptx
Module 1 - Cyber Law and Ethics 101.pptx
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
SASE Traffic Flow - ZTNA Connector-1.pdf
Design_with_Watersergyerge45hrbgre4top (1).ppt
introduction about ICD -10 & ICD-11 ppt.pptx
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Decoding a Decade: 10 Years of Applied CTI Discipline
Cloud-Scale Log Monitoring _ Datadog.pdf
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Power Point - Lesson 3_2.pptx grad school presentation

CSS day 2018 - Layout Saga in the web application era

  • 1. in the web application era Layout Saga 1
  • 2. #CSSDAY - Faenza 2018 @Violo - extrategy Alessandro Violini coding to work out Interface Developer Interaction Designer Retro Computer Collector Drummer 22 https://joind.in/event/cssday-2018
  • 3. #CSSDAY - Faenza 2018 @Violo - extrategy Layout 3
  • 4. #CSSDAY - Faenza 2018 @Violo - extrategy Layout: is the part of graphic design that deals in the arrangement of visual elements on a page 4 wikipedia
  • 5. #CSSDAY - Faenza 2018 @Violo - extrategy Web Application 5
  • 6. #CSSDAY - Faenza 2018 @Violo - extrategy Web Application: is a client-server computer program in which the client, including the user interface and client-side logic, runs in a web browser 6 wikipedia
  • 7. #CSSDAY - Faenza 2018 @Violo - extrategy Web Application has functionality similar to desktop software or mobile application 7 wikipedia
  • 8. #CSSDAY - Faenza 2018 @Violo - extrategy8
  • 9. #CSSDAY - Faenza 2018 @Violo - extrategy single page application multiple DOM tree shadow DOM view encapsulation scrolling content 9
  • 10. #CSSDAY - Faenza 2018 @Violo - extrategy10
  • 11. #CSSDAY - Faenza 2018 @Violo - extrategy11 Page flow
  • 12. #CSSDAY - Faenza 2018 @Violo - extrategy12
  • 13. #CSSDAY - Faenza 2018 @Violo - extrategy13 Scrolling content
  • 14. #CSSDAY - Faenza 2018 @Violo - extrategy Saga 14
  • 15. #CSSDAY - Faenza 2018 @Violo - extrategy15
  • 16. #CSSDAY - Faenza 2018 @Violo - extrategy position: fixed; 16 914 16 26 13 6 old browser compatibility use of “calc” value for operation
  • 17. #CSSDAY - Faenza 2018 @Violo - extrategy17 position: fixed; Qui era presente uno screen recording in cui veniva mostrato il layout e lo stile. Il video lo trovi su youtube all’indirizzo: https://youtu.be/2RXMFevwzYE O su GitHub:
 https://github.com/Violo/layout-saga
  • 18. #CSSDAY - Faenza 2018 @Violo - extrategy position: fixed; 18 814 29 15 13 6 old browser compatibility IE8 included no need of “calc” IE 8 needs modernize for HTMLH 5 tag awkward system with “padding” wrapper
  • 19. #CSSDAY - Faenza 2018 @Violo - extrategy19 position: fixed; Qui era presente uno screen recording in cui veniva mostrato il layout e lo stile. Il video lo trovi su youtube all’indirizzo: https://youtu.be/u0QnFa5Q04o O su GitHub:
 https://github.com/Violo/layout-saga
  • 20. #CSSDAY - Faenza 2018 @Violo - extrategy position: absolute; 20 914 16 26 13 6 nestable layout automatic scrolling content use of both “top” & “bottom” use of “~” for scroll detection
  • 21. #CSSDAY - Faenza 2018 @Violo - extrategy21 position: absolute; Qui era presente uno screen recording in cui veniva mostrato il layout e lo stile. Il video lo trovi su youtube all’indirizzo: https://youtu.be/wyqcMvDwSMw O su GitHub:
 https://github.com/Violo/layout-saga
  • 22. #CSSDAY - Faenza 2018 @Violo - extrategy position: absolute; 22 914 29 29 22 8 nestable layout automatic scrolling content use of both “top” & “bottom” use of “~” for scroll detection use of “vw" & “vh” with viewport relative units
  • 23. #CSSDAY - Faenza 2018 @Violo - extrategy position: absolute; 23 914 29 29 22 8 nestable layout automatic scrolling content float behavior for responsiveness use of both “top” & “bottom” use of “~” for scroll detection use of “vw" & “vh” with float
  • 24. #CSSDAY - Faenza 2018 @Violo - extrategy display: flex; 24 1116 58 51 22 9 light and clean code (30% lighter!) easy responsive set up no need to manage scrolling content browser compatibility flex-direction: column
  • 25. #CSSDAY - Faenza 2018 @Violo - extrategy25 display: flex; Qui era presente uno screen recording in cui veniva mostrato il layout e lo stile. Il video lo trovi su youtube all’indirizzo: https://youtu.be/9-Dn4A-PmbM O su GitHub:
 https://github.com/Violo/layout-saga
  • 26. #CSSDAY - Faenza 2018 @Violo - extrategy display: grid; 26 11*16 58 62 11 light and clean code (50% lighter!) easy responsive set up no need to manage scrolling content very clean and semantic html browser compatibility
  • 27. #CSSDAY - Faenza 2018 @Violo - extrategy27 display: grid; Qui era presente uno screen recording in cui veniva mostrato il layout e lo stile. Il video lo trovi su youtube all’indirizzo: https://youtu.be/HwksycRdEmg O su GitHub:
 https://github.com/Violo/layout-saga
  • 28. #CSSDAY - Faenza 2018 @Violo - extrategy table 28 18 26 6 nestable layout all the rest 13
  • 29. #CSSDAY - Faenza 2018 @Violo - extrategy29 table Qui era presente uno screen recording in cui veniva mostrato il layout e lo stile. Il video lo trovi su youtube all’indirizzo: https://youtu.be/GIC3cjJe6xA O su GitHub:
 https://github.com/Violo/layout-saga
  • 30. #CSSDAY - Faenza 2018 @Violo - extrategy30 Avoid framework dependencies
  • 31. #CSSDAY - Faenza 2018 @Violo - extrategy31 Layout as a pattern
  • 32. #CSSDAY - Faenza 2018 @Violo - extrategy code is less important than the why we write code 32
  • 33. #CSSDAY - Faenza 2018 @Violo - extrategy Thanks! 33 @Violo github.com/Violo extrategy.net/it/alessandro-violini https://joind.in/event/cssday-2018