SlideShare a Scribd company logo
Responsive Elements
with Polymer
A bit of responsive history.
Coined by Ethan Marcotte.
Media queries became
an official standard in 2012.
Media queries are broken.
Responsive elements with polymer
Responsive elements with polymer
Responsive elements with polymer
Responsive elements with polymer
Polymer is component based.
It should be: Element Queries.
Responsive elements with polymer
Responsive elements with polymer
Responsive elements with polymer
Pitfalls:
Circularity
.element (min-width: 500px) {
width: 200px;
}
Circularity
.element (min-width: 31.250em) {
font-size: 0.75em;
}
Circularity
.container {
float: left;
}
.child {
width: 500px;
}
.container:min-width(450px) > .child {
width: 400px;
}
The future:
Element Queries
Element Queries
Container
Share your opinion!
http://discourse.wicg.io/
Useful links
• Ethan Marlotte’s first post on responsive web design:

http://alistapart.com/article/responsive-web-design
• Tab Atkins’ most recent post about Element Queries:

http://www.xanthir.com/b4VG0
• The Element Query Polymer component

http://filaraujo.github.io/akyral.io/element-query/index.html
• A more native Element Queries Polyfill

https://github.com/marcj/css-element-queries
• Mat Marquis’ proposal for Container Queries:

http://alistapart.com/article/container-queries-once-more-unto-the-breach

More Related Content

PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
Rock GWT UI's with Polymer Elements
PDF
Meteor - DotJS 2014
PDF
CSS Parallax - DotCSS 2014
PDF
2024 State of Marketing Report – by Hubspot
Storytelling For The Web: Integrate Storytelling in your Design Process
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
2024 Trend Updates: What Really Works In SEO & Content Marketing
Rock GWT UI's with Polymer Elements
Meteor - DotJS 2014
CSS Parallax - DotCSS 2014
2024 State of Marketing Report – by Hubspot

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
PPT on Performance Review to get promotions
PPTX
Geodesy 1.pptx...............................................
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
composite construction of structures.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Current and future trends in Computer Vision.pptx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT
Mechanical Engineering MATERIALS Selection
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPT on Performance Review to get promotions
Geodesy 1.pptx...............................................
bas. eng. economics group 4 presentation 1.pptx
composite construction of structures.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
UNIT 4 Total Quality Management .pptx
Foundation to blockchain - A guide to Blockchain Tech
Automation-in-Manufacturing-Chapter-Introduction.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Current and future trends in Computer Vision.pptx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Internet of Things (IOT) - A guide to understanding
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Mechanical Engineering MATERIALS Selection
Ad
Ad

Responsive elements with polymer