SlideShare a Scribd company logo
1 of 19
Download to read offline
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

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 incenerimentoLuca Mengoni
 
Domanda di contributo per autonoma sistemazione
Domanda di contributo per autonoma sistemazioneDomanda di contributo per autonoma sistemazione
Domanda di contributo per autonoma sistemazioneLuca 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 ItaliaLuca 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 SafarySkroutz S.A.
 
4 приказ минобрнауки рф от 14.09.2009 n 334
4 приказ минобрнауки рф от 14.09.2009 n 3344 приказ минобрнауки рф от 14.09.2009 n 334
4 приказ минобрнауки рф от 14.09.2009 n 334virtualtaganrog
 
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 methodologiesIsatu 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 StyleTimothy Knight
 
Exploring Our Front-End Workflows
Exploring Our Front-End WorkflowsExploring Our Front-End Workflows
Exploring Our Front-End Workflowsnolly00
 
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-workflowsnolly00
 
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 BeginnersD'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 - Opticon18Optimizely
 
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.2Clarissa 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-25Fré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 PostCSSNeha 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 workspacesCorinna 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 WebsiteJj 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 ConferenceSkroutz 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 MeetupSkroutz S.A.
 
Skroutz - 25th Athens Agile/Scrum Meetup
Skroutz - 25th Athens Agile/Scrum MeetupSkroutz - 25th Athens Agile/Scrum Meetup
Skroutz - 25th Athens Agile/Scrum MeetupSkroutz 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'sSkroutz 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 MeetupSkroutz 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

Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...Pooja Nehwal
 
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...ranjana rawat
 
Petrosains Drama Competition (PSDC).pptx
Petrosains Drama Competition (PSDC).pptxPetrosains Drama Competition (PSDC).pptx
Petrosains Drama Competition (PSDC).pptxIgnatiusAbrahamBalin
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Call Girls in Nagpur High Profile
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130Suhani Kapoor
 
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call GirlsCBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girlsmodelanjalisharma4
 
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...Suhani Kapoor
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CANestorGamez6
 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxjanettecruzeiro1
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️soniya singh
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiSuhani Kapoor
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵anilsa9823
 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Delhi Call girls
 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxjeswinjees
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation decktbatkhuu1
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...Suhani Kapoor
 

Recently uploaded (20)

Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
 
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
 
Petrosains Drama Competition (PSDC).pptx
Petrosains Drama Competition (PSDC).pptxPetrosains Drama Competition (PSDC).pptx
Petrosains Drama Competition (PSDC).pptx
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
 
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Aminabad Lucknow best Night Fun service
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
 
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call GirlsCBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
 
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptx
 
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
 
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptx
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
 

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