SlideShare a Scribd company logo
Skroutz redesign
how to approach Card-based design &
SASS content-specific breakpoints
DEVit workshop - May 2016
Giorgos Katsiampas
■ g.katsiampas@skroutz.gr
■ twitter.com/katsampu
Front-End developer @Skroutz.gr
■ front-team@skroutz.gr
■ engineering.skroutz.gr
■ twitter.com/SkroutzDevs
■ github.com/skroutz
■ skroutz.workable.com
we will talk about:
at this workshop
■ Why we need to redesign a site
■ What Card-based design provides
■ What Media Queries and Element Queries are
■ How to create a list with items we can position as
we want with SASS
1. Why redesign?
■ To make it responsive
■ To add new functionality
■ To improve User Experience
■ To improve code quality & performance
■ To rebrand the site
■ The purpose of your site has changed
1. Why redesign?
■ To make it responsive
■ To add new functionality
■ To improve User Experience
■ To improve code quality & performance
■ To rebrand the site
■ The purpose of your site has changed
1. Why redesign?
1. Why redesign?
1. Why redesign?
1. Why redesign?
1. Why redesign?
2. Why Card-based design
2. Why Card-based design
3. Media Queries vs Element Queries
Media Queries: apply styles based on the browser
environment they are being viewed on (the most common
thing: the browser's width).
Element Queries: a Media Query but for an element, rather
than the environment. It naturally apply styles due to the
width of the respective containers.
3. Media Queries vs Element Queries
Can you think of why there are no
Element Queries?
Can you think of a tag where Element
Queries apply now?
CSS was invented (1994) to style simple documents with
high-quality typography, i.e. pages with a single column
layout that contain a lot of text! For more complex layouts
something else should have been invented, but since this
didn’t happen, most started using CSS for other purposes!
CSS wasn’t designed to
do what it does
Fact:
4. Exercise
Let’s create Skroutz.gr ’s recently viewed section
1. Fork codepen.io/katsampukas/pen/ZWNaWB
2. Add media queries for
min-width: 500px
min-width: 700px
min-width: 1000px
4. Exercise
3. Make list items behave as follows:
min-width: 500px : 2 items per row
min-width: 700px : 3 items per row
min-width: 1000px : 4 items per row, all in one row
4. Solution: codepen.io/katsampukas/pen/ONYqrP
4. Exercise
5. Write a SASS mixin to emulate the previous behavior
with the following params:
- Viewport
- Items per line
- If items will be shown in 1 row or in multiple rows
6. Solution: codepen.io/katsampukas/pen/JXqVXx
Questions / Follow-up
We hope you got some value from the workshop.
Or maybe you have a question about it.
■ twitter.com/SkroutzDevs
{#devit}
■ front-team@skroutz.gr
■ engineering.skroutz.gr
■ skroutz.gr/blog
■ github.com/skroutz
■ skroutz.workable.com

More Related Content

Viewers also liked

Jp handloom
Jp handloomJp handloom
Jp handloom
Jp Handloom
 
Decreto pcm10-08-2016 tabellac - Individuazione impianti incenerimento
Decreto pcm10-08-2016 tabellac - Individuazione impianti incenerimentoDecreto pcm10-08-2016 tabellac - Individuazione impianti incenerimento
Decreto pcm10-08-2016 tabellac - Individuazione impianti incenerimento
Luca Mengoni
 
Domanda di contributo per autonoma sistemazione
Domanda di contributo per autonoma sistemazioneDomanda di contributo per autonoma sistemazione
Domanda di contributo per autonoma sistemazione
Luca Mengoni
 
Ocdpc n. 408 del 15 novembre 2016 - Terremoto Centro Italia
Ocdpc n. 408 del 15 novembre 2016 - Terremoto Centro ItaliaOcdpc n. 408 del 15 novembre 2016 - Terremoto Centro Italia
Ocdpc n. 408 del 15 novembre 2016 - Terremoto Centro Italia
Luca Mengoni
 
Skroutz - How to build a strong employer brand? - Athens Startup Safary
Skroutz - How to build a strong employer brand? - Athens Startup SafarySkroutz - How to build a strong employer brand? - Athens Startup Safary
Skroutz - How to build a strong employer brand? - Athens Startup Safary
Skroutz S.A.
 
Getting to Zero
Getting to ZeroGetting to Zero
4 приказ минобрнауки рф от 14.09.2009 n 334
4 приказ минобрнауки рф от 14.09.2009 n 3344 приказ минобрнауки рф от 14.09.2009 n 334
4 приказ минобрнауки рф от 14.09.2009 n 334
virtualtaganrog
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
Mawwy Sioson
 
Skroutz - Why do customers abandon your e-shop? by V. Giannakouris @ E-busine...
Skroutz - Why do customers abandon your e-shop? by V. Giannakouris @ E-busine...Skroutz - Why do customers abandon your e-shop? by V. Giannakouris @ E-busine...
Skroutz - Why do customers abandon your e-shop? by V. Giannakouris @ E-busine...
Skroutz S.A.
 
How Persistent Memory Will Bring an Entirely New Structure to Large Data Comp...
How Persistent Memory Will Bring an Entirely New Structure to Large Data Comp...How Persistent Memory Will Bring an Entirely New Structure to Large Data Comp...
How Persistent Memory Will Bring an Entirely New Structure to Large Data Comp...
inside-BigData.com
 
Maximizing information and communications technologies for development in fai...
Maximizing information and communications technologies for development in fai...Maximizing information and communications technologies for development in fai...
Maximizing information and communications technologies for development in fai...
Ed Dodds
 

Viewers also liked (11)

Jp handloom
Jp handloomJp handloom
Jp handloom
 
Decreto pcm10-08-2016 tabellac - Individuazione impianti incenerimento
Decreto pcm10-08-2016 tabellac - Individuazione impianti incenerimentoDecreto pcm10-08-2016 tabellac - Individuazione impianti incenerimento
Decreto pcm10-08-2016 tabellac - Individuazione impianti incenerimento
 
Domanda di contributo per autonoma sistemazione
Domanda di contributo per autonoma sistemazioneDomanda di contributo per autonoma sistemazione
Domanda di contributo per autonoma sistemazione
 
Ocdpc n. 408 del 15 novembre 2016 - Terremoto Centro Italia
Ocdpc n. 408 del 15 novembre 2016 - Terremoto Centro ItaliaOcdpc n. 408 del 15 novembre 2016 - Terremoto Centro Italia
Ocdpc n. 408 del 15 novembre 2016 - Terremoto Centro Italia
 
Skroutz - How to build a strong employer brand? - Athens Startup Safary
Skroutz - How to build a strong employer brand? - Athens Startup SafarySkroutz - How to build a strong employer brand? - Athens Startup Safary
Skroutz - How to build a strong employer brand? - Athens Startup Safary
 
Getting to Zero
Getting to ZeroGetting to Zero
Getting to Zero
 
4 приказ минобрнауки рф от 14.09.2009 n 334
4 приказ минобрнауки рф от 14.09.2009 n 3344 приказ минобрнауки рф от 14.09.2009 n 334
4 приказ минобрнауки рф от 14.09.2009 n 334
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Skroutz - Why do customers abandon your e-shop? by V. Giannakouris @ E-busine...
Skroutz - Why do customers abandon your e-shop? by V. Giannakouris @ E-busine...Skroutz - Why do customers abandon your e-shop? by V. Giannakouris @ E-busine...
Skroutz - Why do customers abandon your e-shop? by V. Giannakouris @ E-busine...
 
How Persistent Memory Will Bring an Entirely New Structure to Large Data Comp...
How Persistent Memory Will Bring an Entirely New Structure to Large Data Comp...How Persistent Memory Will Bring an Entirely New Structure to Large Data Comp...
How Persistent Memory Will Bring an Entirely New Structure to Large Data Comp...
 
Maximizing information and communications technologies for development in fai...
Maximizing information and communications technologies for development in fai...Maximizing information and communications technologies for development in fai...
Maximizing information and communications technologies for development in fai...
 

Similar to Skroutz redesign - How to approach card-based design & SASS content - specific breakpoints

Css tools and methodologies
Css tools and methodologiesCss tools and methodologies
Css tools and methodologies
Isatu Conteh
 
Is everything we used to do wrong?
Is everything we used to do wrong?Is everything we used to do wrong?
Is everything we used to do wrong?
Russ Weakley
 
Spca2014 introduction responsive master page niaulin
Spca2014 introduction responsive master page niaulinSpca2014 introduction responsive master page niaulin
Spca2014 introduction responsive master page niaulinNCCOMMS
 
Architecting with Style
Architecting with StyleArchitecting with Style
Architecting with Style
Timothy Knight
 
Exploring Our Front-End Workflows
Exploring Our Front-End WorkflowsExploring Our Front-End Workflows
Exploring Our Front-End Workflows
nolly00
 
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Frédéric Harper
 
Reworking our-workflows
Reworking our-workflowsReworking our-workflows
Reworking our-workflows
nolly00
 
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
Frédéric Harper
 
Bootstrap for Beginners
Bootstrap for BeginnersBootstrap for Beginners
Bootstrap for Beginners
D'arce Hess
 
CSS Audits: Take Back Control of your CSS (Susan Robertson)
CSS Audits: Take Back Control of your CSS (Susan Robertson)CSS Audits: Take Back Control of your CSS (Susan Robertson)
CSS Audits: Take Back Control of your CSS (Susan Robertson)
Future Insights
 
Developer Night - Opticon18
Developer Night - Opticon18Developer Night - Opticon18
Developer Night - Opticon18
Optimizely
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascripttutorialsruby
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascripttutorialsruby
 
Introduction to Responsive Design v.2
Introduction to Responsive Design v.2Introduction to Responsive Design v.2
Introduction to Responsive Design v.2
Clarissa Peterson
 
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
Frédéric Harper
 
SPS Oslo - Stop your SharePoint CSS becoming a di-sass-ter today!
SPS Oslo - Stop your SharePoint CSS becoming a di-sass-ter today!SPS Oslo - Stop your SharePoint CSS becoming a di-sass-ter today!
SPS Oslo - Stop your SharePoint CSS becoming a di-sass-ter today!
Stefan Bauer
 
Post css - Getting start with PostCSS
Post css - Getting start with PostCSSPost css - Getting start with PostCSS
Post css - Getting start with PostCSS
Neha Sharma
 
Customize your UI in modern SharePoint workspaces
Customize your UI in modern SharePoint workspacesCustomize your UI in modern SharePoint workspaces
Customize your UI in modern SharePoint workspaces
Corinna Lins
 
How to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteHow to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive Website
Jj Jurgens
 

Similar to Skroutz redesign - How to approach card-based design & SASS content - specific breakpoints (20)

Css tools and methodologies
Css tools and methodologiesCss tools and methodologies
Css tools and methodologies
 
Is everything we used to do wrong?
Is everything we used to do wrong?Is everything we used to do wrong?
Is everything we used to do wrong?
 
Spca2014 introduction responsive master page niaulin
Spca2014 introduction responsive master page niaulinSpca2014 introduction responsive master page niaulin
Spca2014 introduction responsive master page niaulin
 
Architecting with Style
Architecting with StyleArchitecting with Style
Architecting with Style
 
Exploring Our Front-End Workflows
Exploring Our Front-End WorkflowsExploring Our Front-End Workflows
Exploring Our Front-End Workflows
 
Design
DesignDesign
Design
 
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...Responsive Web Design, get the best out of your designs - JavaScript Open Day...
Responsive Web Design, get the best out of your designs - JavaScript Open Day...
 
Reworking our-workflows
Reworking our-workflowsReworking our-workflows
Reworking our-workflows
 
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
Responsive Web Design: the secret sauce - JavaScript Open Day Montreal - 2015...
 
Bootstrap for Beginners
Bootstrap for BeginnersBootstrap for Beginners
Bootstrap for Beginners
 
CSS Audits: Take Back Control of your CSS (Susan Robertson)
CSS Audits: Take Back Control of your CSS (Susan Robertson)CSS Audits: Take Back Control of your CSS (Susan Robertson)
CSS Audits: Take Back Control of your CSS (Susan Robertson)
 
Developer Night - Opticon18
Developer Night - Opticon18Developer Night - Opticon18
Developer Night - Opticon18
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascript
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascript
 
Introduction to Responsive Design v.2
Introduction to Responsive Design v.2Introduction to Responsive Design v.2
Introduction to Responsive Design v.2
 
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
Responsive Web Design, the secret sauce - MSDEVMTL - 2016-01-25
 
SPS Oslo - Stop your SharePoint CSS becoming a di-sass-ter today!
SPS Oslo - Stop your SharePoint CSS becoming a di-sass-ter today!SPS Oslo - Stop your SharePoint CSS becoming a di-sass-ter today!
SPS Oslo - Stop your SharePoint CSS becoming a di-sass-ter today!
 
Post css - Getting start with PostCSS
Post css - Getting start with PostCSSPost css - Getting start with PostCSS
Post css - Getting start with PostCSS
 
Customize your UI in modern SharePoint workspaces
Customize your UI in modern SharePoint workspacesCustomize your UI in modern SharePoint workspaces
Customize your UI in modern SharePoint workspaces
 
How to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteHow to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive Website
 

More from Skroutz S.A.

Skroutz - Next Generation of IT Recruitment (Organized by Kariera.gr)
Skroutz - Next Generation of IT Recruitment (Organized by Kariera.gr)Skroutz - Next Generation of IT Recruitment (Organized by Kariera.gr)
Skroutz - Next Generation of IT Recruitment (Organized by Kariera.gr)
Skroutz S.A.
 
Skroutz V. Dimos on "Designing Design @ Digitized 2016 Conference
Skroutz V. Dimos on "Designing Design @ Digitized 2016 ConferenceSkroutz V. Dimos on "Designing Design @ Digitized 2016 Conference
Skroutz V. Dimos on "Designing Design @ Digitized 2016 Conference
Skroutz S.A.
 
Let's talk about elixir - 26th Athens Ruby Meetup
Let's talk about elixir - 26th Athens Ruby MeetupLet's talk about elixir - 26th Athens Ruby Meetup
Let's talk about elixir - 26th Athens Ruby Meetup
Skroutz S.A.
 
Skroutz - 25th Athens Agile/Scrum Meetup
Skroutz - 25th Athens Agile/Scrum MeetupSkroutz - 25th Athens Agile/Scrum Meetup
Skroutz - 25th Athens Agile/Scrum Meetup
Skroutz S.A.
 
E-shop Survival Kit in a Comparison Shopping Engine - 6+1 Dos & Dont's
E-shop Survival Kit in a Comparison Shopping Engine - 6+1 Dos & Dont'sE-shop Survival Kit in a Comparison Shopping Engine - 6+1 Dos & Dont's
E-shop Survival Kit in a Comparison Shopping Engine - 6+1 Dos & Dont's
Skroutz S.A.
 
Rails Engines - A presentation for the 22nd Athens Ruby Meetup
Rails Engines - A presentation for the 22nd Athens Ruby MeetupRails Engines - A presentation for the 22nd Athens Ruby Meetup
Rails Engines - A presentation for the 22nd Athens Ruby Meetup
Skroutz S.A.
 
Karate - How we build things in Skroutz (Agile Summit '15)
Karate - How we build things in Skroutz (Agile Summit '15)Karate - How we build things in Skroutz (Agile Summit '15)
Karate - How we build things in Skroutz (Agile Summit '15)
Skroutz S.A.
 

More from Skroutz S.A. (7)

Skroutz - Next Generation of IT Recruitment (Organized by Kariera.gr)
Skroutz - Next Generation of IT Recruitment (Organized by Kariera.gr)Skroutz - Next Generation of IT Recruitment (Organized by Kariera.gr)
Skroutz - Next Generation of IT Recruitment (Organized by Kariera.gr)
 
Skroutz V. Dimos on "Designing Design @ Digitized 2016 Conference
Skroutz V. Dimos on "Designing Design @ Digitized 2016 ConferenceSkroutz V. Dimos on "Designing Design @ Digitized 2016 Conference
Skroutz V. Dimos on "Designing Design @ Digitized 2016 Conference
 
Let's talk about elixir - 26th Athens Ruby Meetup
Let's talk about elixir - 26th Athens Ruby MeetupLet's talk about elixir - 26th Athens Ruby Meetup
Let's talk about elixir - 26th Athens Ruby Meetup
 
Skroutz - 25th Athens Agile/Scrum Meetup
Skroutz - 25th Athens Agile/Scrum MeetupSkroutz - 25th Athens Agile/Scrum Meetup
Skroutz - 25th Athens Agile/Scrum Meetup
 
E-shop Survival Kit in a Comparison Shopping Engine - 6+1 Dos & Dont's
E-shop Survival Kit in a Comparison Shopping Engine - 6+1 Dos & Dont'sE-shop Survival Kit in a Comparison Shopping Engine - 6+1 Dos & Dont's
E-shop Survival Kit in a Comparison Shopping Engine - 6+1 Dos & Dont's
 
Rails Engines - A presentation for the 22nd Athens Ruby Meetup
Rails Engines - A presentation for the 22nd Athens Ruby MeetupRails Engines - A presentation for the 22nd Athens Ruby Meetup
Rails Engines - A presentation for the 22nd Athens Ruby Meetup
 
Karate - How we build things in Skroutz (Agile Summit '15)
Karate - How we build things in Skroutz (Agile Summit '15)Karate - How we build things in Skroutz (Agile Summit '15)
Karate - How we build things in Skroutz (Agile Summit '15)
 

Recently uploaded

一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
7sd8fier
 
Top Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdfTop Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdf
PlanitIsrael
 
Borys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior designBorys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior design
boryssutkowski
 
Top 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen DesignsTop 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen Designs
Finzo Kitchens
 
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
h7j5io0
 
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
708pb191
 
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
smpc3nvg
 
Portfolio.pdf
Portfolio.pdfPortfolio.pdf
Portfolio.pdf
garcese
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证成绩单如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证成绩单如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证成绩单如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证成绩单如何办理
n0tivyq
 
Research 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdfResearch 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdf
ameli25062005
 
CA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdfCA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdf
SudhanshuMandlik
 
一比一原版(LSE毕业证书)伦敦政治经济学院毕业证成绩单如何办理
一比一原版(LSE毕业证书)伦敦政治经济学院毕业证成绩单如何办理一比一原版(LSE毕业证书)伦敦政治经济学院毕业证成绩单如何办理
一比一原版(LSE毕业证书)伦敦政治经济学院毕业证成绩单如何办理
jyz59f4j
 
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting ServicesExpert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
ResDraft
 
RTUYUIJKLDSADAGHBDJNKSMAL,D
RTUYUIJKLDSADAGHBDJNKSMAL,DRTUYUIJKLDSADAGHBDJNKSMAL,D
RTUYUIJKLDSADAGHBDJNKSMAL,D
cy0krjxt
 
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
9a93xvy
 
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
7sd8fier
 
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptxNational-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
AlecAnidul
 
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
taqyed
 
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting ProfitabilityTransforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
aaryangarg12
 
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
h7j5io0
 

Recently uploaded (20)

一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
一比一原版(NCL毕业证书)纽卡斯尔大学毕业证成绩单如何办理
 
Top Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdfTop Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdf
 
Borys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior designBorys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior design
 
Top 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen DesignsTop 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen Designs
 
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
 
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
 
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
 
Portfolio.pdf
Portfolio.pdfPortfolio.pdf
Portfolio.pdf
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证成绩单如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证成绩单如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证成绩单如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证成绩单如何办理
 
Research 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdfResearch 20 slides Amelia gavryliuks.pdf
Research 20 slides Amelia gavryliuks.pdf
 
CA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdfCA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdf
 
一比一原版(LSE毕业证书)伦敦政治经济学院毕业证成绩单如何办理
一比一原版(LSE毕业证书)伦敦政治经济学院毕业证成绩单如何办理一比一原版(LSE毕业证书)伦敦政治经济学院毕业证成绩单如何办理
一比一原版(LSE毕业证书)伦敦政治经济学院毕业证成绩单如何办理
 
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting ServicesExpert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
 
RTUYUIJKLDSADAGHBDJNKSMAL,D
RTUYUIJKLDSADAGHBDJNKSMAL,DRTUYUIJKLDSADAGHBDJNKSMAL,D
RTUYUIJKLDSADAGHBDJNKSMAL,D
 
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
 
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
一比一原版(UNUK毕业证书)诺丁汉大学毕业证如何办理
 
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptxNational-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
 
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理一比一原版(毕业证)长崎大学毕业证成绩单如何办理
一比一原版(毕业证)长崎大学毕业证成绩单如何办理
 
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting ProfitabilityTransforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
 
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
一比一原版(UCB毕业证书)伯明翰大学学院毕业证成绩单如何办理
 

Skroutz redesign - How to approach card-based design & SASS content - specific breakpoints

  • 1. Skroutz redesign how to approach Card-based design & SASS content-specific breakpoints DEVit workshop - May 2016
  • 2. Giorgos Katsiampas ■ g.katsiampas@skroutz.gr ■ twitter.com/katsampu Front-End developer @Skroutz.gr ■ front-team@skroutz.gr ■ engineering.skroutz.gr ■ twitter.com/SkroutzDevs ■ github.com/skroutz ■ skroutz.workable.com
  • 3. we will talk about: at this workshop ■ Why we need to redesign a site ■ What Card-based design provides ■ What Media Queries and Element Queries are ■ How to create a list with items we can position as we want with SASS
  • 4. 1. Why redesign? ■ To make it responsive ■ To add new functionality ■ To improve User Experience ■ To improve code quality & performance ■ To rebrand the site ■ The purpose of your site has changed
  • 5. 1. Why redesign? ■ To make it responsive ■ To add new functionality ■ To improve User Experience ■ To improve code quality & performance ■ To rebrand the site ■ The purpose of your site has changed
  • 13. 3. Media Queries vs Element Queries Media Queries: apply styles based on the browser environment they are being viewed on (the most common thing: the browser's width). Element Queries: a Media Query but for an element, rather than the environment. It naturally apply styles due to the width of the respective containers.
  • 14. 3. Media Queries vs Element Queries Can you think of why there are no Element Queries? Can you think of a tag where Element Queries apply now?
  • 15. CSS was invented (1994) to style simple documents with high-quality typography, i.e. pages with a single column layout that contain a lot of text! For more complex layouts something else should have been invented, but since this didn’t happen, most started using CSS for other purposes! CSS wasn’t designed to do what it does Fact:
  • 16. 4. Exercise Let’s create Skroutz.gr ’s recently viewed section 1. Fork codepen.io/katsampukas/pen/ZWNaWB 2. Add media queries for min-width: 500px min-width: 700px min-width: 1000px
  • 17. 4. Exercise 3. Make list items behave as follows: min-width: 500px : 2 items per row min-width: 700px : 3 items per row min-width: 1000px : 4 items per row, all in one row 4. Solution: codepen.io/katsampukas/pen/ONYqrP
  • 18. 4. Exercise 5. Write a SASS mixin to emulate the previous behavior with the following params: - Viewport - Items per line - If items will be shown in 1 row or in multiple rows 6. Solution: codepen.io/katsampukas/pen/JXqVXx
  • 19. Questions / Follow-up We hope you got some value from the workshop. Or maybe you have a question about it. ■ twitter.com/SkroutzDevs {#devit} ■ front-team@skroutz.gr ■ engineering.skroutz.gr ■ skroutz.gr/blog ■ github.com/skroutz ■ skroutz.workable.com