SlideShare a Scribd company logo
1 of 54
Download to read offline
Magical layouts with modern CSS




March24th,WordCampRotterdam2018
@LucP
DITCH YOUR
FRAMEWORK!
LET'S MAKE YOUR LIVES BETTER...
@LucP


BOOTSTRAP

FOUNDATION

BULMA

@LucP
BOOTSTRAP (JS) POWERS
~17% OF THE WEB.
SOURCE: HTTPS://W3TECHS.COM/TECHNOLOGIES/DETAILS/JS-BOOTSTRAP/ALL/ALL @LucP
@LucP
121K STARS ON GITHUB
@LucP
@LucP
@LucP
Let's look at some reasons
BUT WHY?
@LucP
-ALL THE MARKUP
- ALL THE CLASSES

Some personal reasons:
@LucP
1. IT'S NOT MAKING YOU A SMARTER
DEVELOPER.
@LucP
January 2010
source: Httparchive @LucP
Januari, 2018
source: Httparchive @LucP
THAT'S AN INCREASE OF
500% IN 8 YEARS.
@LucP
470% GROWTH OF
AVERAGE INTERNET
SPEED.
In the US.
And broadband prices are going up.
@LucP
WE'RE DOING IT WRONG.
@LucP
@LucP
@LucP
@LucP
ILIKEUNIQUENESS
@LucP
Created by Jeremy Karbowski
@LucP
"BUILDING STUFF
YOURSELF IS HARD"
@LucP
@LucP
ALL HAIL MODERN CSS!
@LucP
1. IT'S NOT MAKING
YOU SMARTER
2. EVERYTHING
LOOKS THE SAME
3. IT'S HARDER
THAN REGULAR CSS
@LucP
Summing up:
A SINGLE WORKFLOW
In three easy steps
@LucP
1. WORK EVERYWHERE
2. BE EASY TO BUILD AND MAINTAIN
3. BE LIGHTWEIGHT
It needs to:
@LucP
The escalator principle
@LucP
@LucP
1. PATTERN LIBRARY
Lay down the basics.
@LucP
1. SET UP COLORS AND TYPOGRAPHY FIRST

2. NEVER USE CLASSES OR ID'S
3. USE HTML5 SEMANTIC MARKUP
The golden rules of the pattern phase:
@LucP
@LucP
@LucP
@LucP
Example by patternlab.io @LucP
(This even works in IE6)
@LucP
2. MOBILE
Layout your website in the simplest and most basic
way possible.
@LucP
@LucP
Mobile first
1. BASIC CSS ONLY
2. WIDTH: 100%
3. KEEP IT LEGIBLE
The golden rules of the mobile phase:
@LucP
60% - 70%
"Mobile is my primary tool for going online"
(North America, Western Europe)
(Asian Countries)
80% - 90%
@LucPSource: SmartInsights.com
(BASICALLY COLORING IN)
@LucP
@LucP
@LucP
3. SCALE UP
Aka: the place where we get to have fun.
@LucP
(Demo time!)
@LucP
BOOTSTRAP GRID
(44kb)
CSS GRID
( 3 lines of code )
@LucP
- EASIER
- MORE FLEXIBLE
- LESS MARKUP NEEDED
- BROWSERSUPPORT: 87%
@LucP
BOOTSTRAP ALIGNMENT
(Riddled with !important)
FLEXBOX
( margin:auto FTW)
@LucP
- EASIER
- MORE FLEXIBLE
- LESS MARKUP NEEDED
- BROWSERSUPPORT: 98%
@LucP
CAROUSELS & MODALS
(Uses JS)
::TARGET
( CSS only)
demo: youmightnotneedjavascript.com @LucP
- EASIER
- REMOVED EXTRA LOAD
- NO JAVASCRIPT NEEDED
- BROWSERSUPPORT: 100%
@LucP
TABS & ACCORDIONS
(Uses JS)
::CHECKED
( CSS only)
demo: youmightnotneedjavascript.com @LucP
- KEYBOARD-ACCESSIBLE
- REMOVED EXTRA LOAD
- NO JAVASCRIPT NEEDED
- BROWSERSUPPORT: 100%
@LucP
@LucP
THANK YOU!
Game illustrations: kenney.nl - spacekit 1.0

More Related Content

What's hot

What's hot (12)

WordPress is advancing rAPIdly - WordCamp San Antonio 2015
WordPress is advancing rAPIdly - WordCamp San Antonio 2015WordPress is advancing rAPIdly - WordCamp San Antonio 2015
WordPress is advancing rAPIdly - WordCamp San Antonio 2015
 
Using Twitter To Find Your Next Job
Using Twitter To Find Your Next JobUsing Twitter To Find Your Next Job
Using Twitter To Find Your Next Job
 
Why, When, and How You Should Update Your Content (Raffaele Asquer, SearchLov...
Why, When, and How You Should Update Your Content (Raffaele Asquer, SearchLov...Why, When, and How You Should Update Your Content (Raffaele Asquer, SearchLov...
Why, When, and How You Should Update Your Content (Raffaele Asquer, SearchLov...
 
Habitually Speaking – PHPSW January 2017
Habitually Speaking – PHPSW January 2017Habitually Speaking – PHPSW January 2017
Habitually Speaking – PHPSW January 2017
 
Fall Fun with LinkedIn Campus Recruiting!
Fall Fun with LinkedIn Campus Recruiting!Fall Fun with LinkedIn Campus Recruiting!
Fall Fun with LinkedIn Campus Recruiting!
 
Boston Area SharePoint User Group 11/10/10 Meeting
Boston Area SharePoint User Group 11/10/10 MeetingBoston Area SharePoint User Group 11/10/10 Meeting
Boston Area SharePoint User Group 11/10/10 Meeting
 
7/13/11 Boston Area SharePoint Users Group Meeting
7/13/11 Boston Area SharePoint Users Group Meeting7/13/11 Boston Area SharePoint Users Group Meeting
7/13/11 Boston Area SharePoint Users Group Meeting
 
8/11/10 Boston Area SharePoint Users Group meeting
8/11/10 Boston Area SharePoint Users Group meeting8/11/10 Boston Area SharePoint Users Group meeting
8/11/10 Boston Area SharePoint Users Group meeting
 
Boston Area SharePoint User Group 10/21/10 Meeting
Boston Area SharePoint User Group 10/21/10 MeetingBoston Area SharePoint User Group 10/21/10 Meeting
Boston Area SharePoint User Group 10/21/10 Meeting
 
10/12/11 Boston Area SharePoint Users Group Meeting
10/12/11 Boston Area SharePoint Users Group Meeting10/12/11 Boston Area SharePoint Users Group Meeting
10/12/11 Boston Area SharePoint Users Group Meeting
 
3/9/11 Boston Area SharePoint Users Group Meeting
3/9/11 Boston Area SharePoint Users Group Meeting3/9/11 Boston Area SharePoint Users Group Meeting
3/9/11 Boston Area SharePoint Users Group Meeting
 
social media + gov stats
social media + gov statssocial media + gov stats
social media + gov stats
 

Similar to Ditch Your Framework!

Schema and Open Graph 101 - SMX Munich
Schema and Open Graph 101 - SMX MunichSchema and Open Graph 101 - SMX Munich
Schema and Open Graph 101 - SMX Munich
Matthew Brown
 

Similar to Ditch Your Framework! (20)

Ditch Your Framework! - Magical layouts with modern css
Ditch Your Framework! - Magical layouts with modern cssDitch Your Framework! - Magical layouts with modern css
Ditch Your Framework! - Magical layouts with modern css
 
JavaScript Tips & Tricks 2018 - SMX East
JavaScript Tips & Tricks 2018 - SMX EastJavaScript Tips & Tricks 2018 - SMX East
JavaScript Tips & Tricks 2018 - SMX East
 
Schema and Open Graph 101 - SMX Munich
Schema and Open Graph 101 - SMX MunichSchema and Open Graph 101 - SMX Munich
Schema and Open Graph 101 - SMX Munich
 
How to build simple web apps to automate your SEO tasks - BrightonSEO Spring ...
How to build simple web apps to automate your SEO tasks - BrightonSEO Spring ...How to build simple web apps to automate your SEO tasks - BrightonSEO Spring ...
How to build simple web apps to automate your SEO tasks - BrightonSEO Spring ...
 
Producing Link Worthy Content For Under £1k - BrightonSEO - April 2018
Producing Link Worthy Content For Under £1k - BrightonSEO - April 2018Producing Link Worthy Content For Under £1k - BrightonSEO - April 2018
Producing Link Worthy Content For Under £1k - BrightonSEO - April 2018
 
Using Event Tracking to Create Intent-Based Remarketing Audiences
Using Event Tracking to Create Intent-Based Remarketing AudiencesUsing Event Tracking to Create Intent-Based Remarketing Audiences
Using Event Tracking to Create Intent-Based Remarketing Audiences
 
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...
Cindy Krum Krum Cindy "What SEOs Need To Know About Progressive Web Apps" SMX...
 
Drupal Destiny
Drupal DestinyDrupal Destiny
Drupal Destiny
 
0.6 seconds is the new slow
0.6 seconds is the new slow0.6 seconds is the new slow
0.6 seconds is the new slow
 
SXSW2018 - Designing & Building for a Data Science Future
SXSW2018 - Designing & Building for a Data Science FutureSXSW2018 - Designing & Building for a Data Science Future
SXSW2018 - Designing & Building for a Data Science Future
 
How To Land Top-Tier Links As A Small Business On A Budget - Digital Olympus ...
How To Land Top-Tier Links As A Small Business On A Budget - Digital Olympus ...How To Land Top-Tier Links As A Small Business On A Budget - Digital Olympus ...
How To Land Top-Tier Links As A Small Business On A Budget - Digital Olympus ...
 
CSFX 2017 - Technology Tune Up: Instruments of Innovation
CSFX 2017 - Technology Tune Up: Instruments of InnovationCSFX 2017 - Technology Tune Up: Instruments of Innovation
CSFX 2017 - Technology Tune Up: Instruments of Innovation
 
Northeastern DB Class Introduction to Marklogic NoSQL april 2016
Northeastern DB Class Introduction to Marklogic NoSQL april 2016Northeastern DB Class Introduction to Marklogic NoSQL april 2016
Northeastern DB Class Introduction to Marklogic NoSQL april 2016
 
SharePoint 2016 & Office 365: A Look Ahead To What's Coming - SPS Vancouver
SharePoint 2016 & Office 365: A Look Ahead To What's Coming - SPS VancouverSharePoint 2016 & Office 365: A Look Ahead To What's Coming - SPS Vancouver
SharePoint 2016 & Office 365: A Look Ahead To What's Coming - SPS Vancouver
 
Search London - The technical factors that every small or local business shou...
Search London - The technical factors that every small or local business shou...Search London - The technical factors that every small or local business shou...
Search London - The technical factors that every small or local business shou...
 
WordPress Myths Uncovered
WordPress Myths UncoveredWordPress Myths Uncovered
WordPress Myths Uncovered
 
5 Things Every Designer Should be Doing Right Now
5 Things Every Designer Should be Doing Right Now5 Things Every Designer Should be Doing Right Now
5 Things Every Designer Should be Doing Right Now
 
Tom Capper Mozcon 2021 - Core Web Vitals - The Fast & The Spurious
Tom Capper Mozcon 2021 - Core Web Vitals - The Fast & The SpuriousTom Capper Mozcon 2021 - Core Web Vitals - The Fast & The Spurious
Tom Capper Mozcon 2021 - Core Web Vitals - The Fast & The Spurious
 
Semantic Web Science
Semantic Web ScienceSemantic Web Science
Semantic Web Science
 
Doing More with Less: Automated, High-Quality Content Generation
Doing More with Less: Automated, High-Quality Content GenerationDoing More with Less: Automated, High-Quality Content Generation
Doing More with Less: Automated, High-Quality Content Generation
 

More from Luc Princen

More from Luc Princen (7)

Block the System
Block the SystemBlock the System
Block the System
 
Making of Kit.nl
Making of Kit.nlMaking of Kit.nl
Making of Kit.nl
 
The Making of KIT
The Making of KITThe Making of KIT
The Making of KIT
 
Block the System - building blocks in Gutenberg
Block the System - building blocks in GutenbergBlock the System - building blocks in Gutenberg
Block the System - building blocks in Gutenberg
 
temp
temptemp
temp
 
Block the System - building blocks in Gutenberg
Block the System - building blocks in GutenbergBlock the System - building blocks in Gutenberg
Block the System - building blocks in Gutenberg
 
An imposters journey through "real" development
An imposters journey through "real" developmentAn imposters journey through "real" development
An imposters journey through "real" development
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Ditch Your Framework!