CSS3 media queries allow specifying different style rules for different device characteristics like screen width. The document discusses the basic syntax and properties of media queries like using max-width, only screen, not screen. It provides examples of using media queries with CSS, links, and imports. While the examples attempt to explain media queries, several have incorrect or missing syntax that would prevent them from working as intended.
Slides from my talk at Generate London on the 23 September 2016 http://www.generateconf.com/london-2016 #generateconf
ABSTRACT
There was a time when we did glossy page designs and those designs were pretty much what we saw in our desktop browsers. With the rise of smartphones, tablets and smartwatches, there isn’t one view of our designs any more.
With further developments in technology and screens, our content could go anywhere. As a result we need to move away from designing for specific devices to solutions that are device-agnostic. For UX designers that means means letting content guide layouts, and moving away from designing pages to focusing on the modules that those views are made up of.
In this talk Anna will walk through why device-agnostic design matters, what it means and how we go about it.
An overview for user experience designers of mobile experience considerations, approaches to creating mobile web sites, and some of the new capabilities for interaction and UI adaptation introduced via HTML5 and CSS3.
Full text transcript of my talk available at: http://jenmatson.com
The document summarizes key techniques for responsible responsive web design, including building mobile-first responsive designs, keeping CSS images in their place, conditionally loading JavaScript based on screen size and capabilities, delivering different sized images at different screen sizes, and handling high-density images carefully. It also discusses debates around whether a one-size-fits-all responsive approach can compete with a tailored experience and ensuring responsive designs are optimized for performance.
The document discusses improving security user interfaces (UIs) on web browsers. It proposes replacing the ubiquitous padlock icon with an identity indicator called "Larry" that clearly shows website identity using extended validation certificates. Larry is evaluated against five rules for good security UI ("MRRAB"): meaningful, relevant, robust, available, and brave. The document also considers other aspects of security UI and explores ideas like using social connections and past browsing history to help users identify legitimate websites. It aims to spark discussion on making security indicators more understandable and effective for users.
The document appears to be a PowerPoint presentation about a person named Akira who enjoys various sports like soccer, baseball, basketball, and tennis. It also mentions that Akira has strong computer skills and knows how to use many different computer programs. The rest of the document provides images and citations related to each of the sports mentioned.
Search engine optimization (SEO) is important for websites to get traffic from search engines. It is more cost effective than advertising. To rank highly in search engines, sites need relevant, high quality content and optimized pages that search engine bots can easily access and understand. Key factors for ranking include having important keywords in pages and links from other reputable sites. Both white hat techniques like optimized content and black hat spammy tactics can affect rankings, but only white hat SEO is sustainable. Common problems to avoid include non-crawlable or duplicate content. SEO requires understanding user search behavior, technical website issues, and producing helpful content.
Slides from my talk at Generate London on the 23 September 2016 http://www.generateconf.com/london-2016 #generateconf
ABSTRACT
There was a time when we did glossy page designs and those designs were pretty much what we saw in our desktop browsers. With the rise of smartphones, tablets and smartwatches, there isn’t one view of our designs any more.
With further developments in technology and screens, our content could go anywhere. As a result we need to move away from designing for specific devices to solutions that are device-agnostic. For UX designers that means means letting content guide layouts, and moving away from designing pages to focusing on the modules that those views are made up of.
In this talk Anna will walk through why device-agnostic design matters, what it means and how we go about it.
An overview for user experience designers of mobile experience considerations, approaches to creating mobile web sites, and some of the new capabilities for interaction and UI adaptation introduced via HTML5 and CSS3.
Full text transcript of my talk available at: http://jenmatson.com
The document summarizes key techniques for responsible responsive web design, including building mobile-first responsive designs, keeping CSS images in their place, conditionally loading JavaScript based on screen size and capabilities, delivering different sized images at different screen sizes, and handling high-density images carefully. It also discusses debates around whether a one-size-fits-all responsive approach can compete with a tailored experience and ensuring responsive designs are optimized for performance.
The document discusses improving security user interfaces (UIs) on web browsers. It proposes replacing the ubiquitous padlock icon with an identity indicator called "Larry" that clearly shows website identity using extended validation certificates. Larry is evaluated against five rules for good security UI ("MRRAB"): meaningful, relevant, robust, available, and brave. The document also considers other aspects of security UI and explores ideas like using social connections and past browsing history to help users identify legitimate websites. It aims to spark discussion on making security indicators more understandable and effective for users.
The document appears to be a PowerPoint presentation about a person named Akira who enjoys various sports like soccer, baseball, basketball, and tennis. It also mentions that Akira has strong computer skills and knows how to use many different computer programs. The rest of the document provides images and citations related to each of the sports mentioned.
Search engine optimization (SEO) is important for websites to get traffic from search engines. It is more cost effective than advertising. To rank highly in search engines, sites need relevant, high quality content and optimized pages that search engine bots can easily access and understand. Key factors for ranking include having important keywords in pages and links from other reputable sites. Both white hat techniques like optimized content and black hat spammy tactics can affect rankings, but only white hat SEO is sustainable. Common problems to avoid include non-crawlable or duplicate content. SEO requires understanding user search behavior, technical website issues, and producing helpful content.
Why Customers Love Responsive Design (And You Should Too!)BrightEdge
This document discusses the benefits of responsive web design. It notes that 90% of people use multiple devices to accomplish goals online and 38% of daily media interactions occur on smartphones. Responsive design allows a website to automatically adjust for viewing on any size screen. While separate mobile sites were once common, they have disadvantages like separate URLs and content duplication. Responsive design overcomes these issues by using fluid grids and media queries to dynamically change the layout. Studies show responsive design can significantly increase conversions, transactions and revenue for mobile visitors. Mobile commerce is growing and responsive design ensures a website is accessible and usable on any device.
This document provides an introduction to hacking. It defines hacking as "altering a system to do what you want it to do using what is at your disposal" and as having fun innovating and making things do what they weren't designed for. It encourages attendees to build workarounds for things that annoy them using available data feeds, web services, and interfaces. Examples of hacking projects are provided, like enhancing slideshow transcripts to be more accessible and building a service to track Twitter followers. The document promotes hacking as a way to innovate and play that is open to anyone, not just those in technical jobs.
How well are you delivering your experience?Andrew Fisher
The web has always had fragmentation, though not on the scale we're seeing now with new devices - and that's before we consider hybrid-touch laptops, microscreen smart watches, gesture interfaces or displays the size of a wall. Testing all the user permutations of your application is becoming almost impossible, so how do you go about working out whether you're delivering a good experience or not?
In this session, we'll look at the use of responsive design oriented analytics coupled with a few statistical methods that will help determine how well you're delivering your experiences and highlighting the areas you need to focus on next in order to maintain a decent level of coverage.
10 Steps To Make A Professional Article With Best SEO Strategies.pdfSuperHero Marketing
In the fast-paced world of digital marketing in 2023, establishing a strong online presence and driving substantial website traffic is not just a goal, but a necessity. This comprehensive guide unlocks the secrets of successful digital marketing, offering a step-by-step roadmap to excellence in SEO (Search Engine Optimization). By following these ten crucial steps, you'll not only captivate your audience but also secure a coveted spot on the first page of Google's search results. This coveted position is where the magic happens—a surge in web traffic, including highly sought-after organic traffic, and the mastery of traffic generation strategies that will set you apart in the competitive digital landscape.
As we delve deeper into this guide, you'll discover that it's not just about creating content; it's about crafting content that resonates, engages, and drives high-quality traffic. If you're eager to embark on a journey toward SEO mastery, increase your website's traffic manifold, and explore the art of creating professional articles, then this guide is your gateway to success. Let's embark on this enlightening journey together.
To Learn More details about SEO Strategies, please visit our full article https://www.superhero-marketing.com/2023/10/10-steps-to-make-professional-article.html
Internal training presentation about how I go about advocating Yahoo to the outside world and what gets me pretty excited about our developer offers at the moment.
This document discusses programming and the web development process. It begins by defining programming as a set of instructions to solve a problem, using the example of instructions for making a peanut butter and jelly sandwich. It then discusses why learning programming is important. The rest of the document outlines the typical steps in the web development process, including user experience design, information architecture, visual design, and development. It provides examples of each step and timelines for hypothetical web projects.
If you're running a tech start-up, it's essential that you familiarize yourself with the fundamentals of web development. Ultimately knowing how to "talk to the talk" will help you communicate better with developers, and overall just look really cool.
In this hour and a half long workshop, Chris Castiglione, experienced developer and founder of One Month Rails, will tackle some development principles and answer questions to get you on the right path, such as, "Front-end vs. Back-end?", "Is UX necessary for my project?", "What is this Javascript function thingy, and why am I passing it strange math equations to it?" He will also have you coding a bit yourself!
Leading a development team (without being a developer yourself) can sometimes feels like talking about dancing, and so this is an interactive and friendly environment in which to learn the basics. Come with questions, and a desire to have fun!
OneMonth.com
OneMonthHtml.com
OneMonthRails.com
Stop Worrying & Get On With It: Progressive Enhancement & Intentional Degrada...elliotjaystocks
Slides from my appearance at Web Directions South 09: a talk that combines my presentations 'Stop Worrying & Get On With It' and 'Progressive Enhancement & Intentional Degradation'.
This document discusses principles and best practices for collaboration within organizations. It addresses topics like establishing shared values and culture, defining roles and responsibilities across teams, implementing design systems for consistency, and emphasizing communication during the process of creating products and tools. The overall message is that collaborative work requires establishing discipline and guidelines while also allowing for flexibility and humanity between groups.
Stapling and patching the web of now - ForwardJS3, San FranciscoChristian Heilmann
This document summarizes a talk given by Chris Heilmann at ForwardJS in 2015. Heilmann discusses the state of web development technologies and how developers have focused too much on experimental features that are not ready for production use. This has led to a fragmented web where browsers implement features differently. He argues developers should focus on standardizing and improving existing web standards rather than constantly introducing new technologies. ES6 is highlighted as a priority for improving existing JavaScript.
This document discusses challenges facing the open web in a mobile-dominated world. It describes how mobile native platforms are stacked against the mobile web, providing better monetization and a perception that everything must work offline. It discusses the five stages of mourning for the open web, from denial to acceptance. It argues for focusing on simplicity, understanding other perspectives, and promoting the web through love instead of criticism.
The document discusses redesigning the BYU website to be more responsive and adaptive to different screen sizes. It notes that the current layout is outdated since it was designed in 2007 for 1024x768 screens. Modern browsers come in a variety of sizes from mobile to desktop and beyond. The document recommends a mobile-first approach using responsive web design techniques like flexible grids, fluid images, and media queries to dynamically serve optimized layouts depending on screen width. It also advocates progressive enhancement and polyfills to gracefully support older browsers.
Responsive, Scalable and Liquid DesignRanjeet Tayi
Responsive, Scalable and Liquid Design. This presentation talks about the new way of web design standard / technique aimed at crafting sites to provide an optimal viewing experience - easy reading - easily accessible and navigation with a minimum of resizing, panning, and scrolling across a wide range of devices along with various examples.
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...javier ramirez
We rails people tend to think of Rails as the center-piece of web development. The same thing can be said of .net, Spring/Java Server Faces, Drupal, Python or name-your-web-framework-of-choice-here people.
Web frameworks are just a component of web applications, and if you want to succeed you better know the miriads of other components beyond your rockstar code.
In my session I will talk about things you must take into account and tools/techniques you should master if you want to make a difference in web development, independently of your development language/framework.
Talk delivered at conferencia rails 2010 in Madrid, Spain.
Collaboration between LINE, Microsoft and AI by the developers, for the devel...LINE Corporation
LINE DEVELOPER DAY 2017 B-3
Microsoft Bot Framework and Microsoft Cognitive Services help accelerate bot application development. I will link them to the LINE Messaging API, and show you how an exciting bot application is made through a live coding performance. The heat is on!
The document discusses progressive web apps (PWAs) and outlines key considerations for creating a PWA. It addresses questions around what a PWA is, how to make a website feel like an app, offline functionality, push notifications, and creating a roadmap. Examples from companies that implemented PWAs successfully are provided. The conclusion recommends developing a progressive roadmap that starts with baseline PWA features and builds out functionality over time based on priorities and initiatives.
Part 2: Intermediate Designing for Multiple Devices - GA London, 31 Jul 2013Anna Dahlström
Slides from the second of my 3 part series classes at General Assembly in London on the 31st of July 2013.
https://generalassemb.ly/education/designing-for-multiple-devices-3-part-series/london/2172
ABSTRACT
This follow-on session will build onto the guiding principles covered in the previous class, taking a closer look at:
- the common challenges faced when designing for multiple devices and how to address them
- content strategy and hierarchy across devices
- app structures and navigation patterns for responsive design
- how to test both responsive sites and apps
VueJS is a progressive framework for building user interfaces. It introduces key concepts like the MVVM pattern, reactivity system, lifecycle hooks and components. The document discusses various aspects of VueJS including using .vue files with different languages for templates, styles and scripts. It also covers Vuex for state management, Vue Router for routing, VueStrap for Bootstrap components, and integrating JWT authentication with Auth0.
Famo.us - New generation of HTML5 Web Application FrameworkHina Chen
This document provides an overview of Famo.us, a new generation HTML5 web application framework. It discusses Famo.us' render engine and how it improves performance over traditional approaches by utilizing a virtual "render tree". Key aspects of Famo.us like modifiers, events handling, and views/widgets are explained. Examples are provided to illustrate challenges and their solutions in Famo.us. Integration with other frameworks like Angular and tools for building with Famo.us are also mentioned.
Why Customers Love Responsive Design (And You Should Too!)BrightEdge
This document discusses the benefits of responsive web design. It notes that 90% of people use multiple devices to accomplish goals online and 38% of daily media interactions occur on smartphones. Responsive design allows a website to automatically adjust for viewing on any size screen. While separate mobile sites were once common, they have disadvantages like separate URLs and content duplication. Responsive design overcomes these issues by using fluid grids and media queries to dynamically change the layout. Studies show responsive design can significantly increase conversions, transactions and revenue for mobile visitors. Mobile commerce is growing and responsive design ensures a website is accessible and usable on any device.
This document provides an introduction to hacking. It defines hacking as "altering a system to do what you want it to do using what is at your disposal" and as having fun innovating and making things do what they weren't designed for. It encourages attendees to build workarounds for things that annoy them using available data feeds, web services, and interfaces. Examples of hacking projects are provided, like enhancing slideshow transcripts to be more accessible and building a service to track Twitter followers. The document promotes hacking as a way to innovate and play that is open to anyone, not just those in technical jobs.
How well are you delivering your experience?Andrew Fisher
The web has always had fragmentation, though not on the scale we're seeing now with new devices - and that's before we consider hybrid-touch laptops, microscreen smart watches, gesture interfaces or displays the size of a wall. Testing all the user permutations of your application is becoming almost impossible, so how do you go about working out whether you're delivering a good experience or not?
In this session, we'll look at the use of responsive design oriented analytics coupled with a few statistical methods that will help determine how well you're delivering your experiences and highlighting the areas you need to focus on next in order to maintain a decent level of coverage.
10 Steps To Make A Professional Article With Best SEO Strategies.pdfSuperHero Marketing
In the fast-paced world of digital marketing in 2023, establishing a strong online presence and driving substantial website traffic is not just a goal, but a necessity. This comprehensive guide unlocks the secrets of successful digital marketing, offering a step-by-step roadmap to excellence in SEO (Search Engine Optimization). By following these ten crucial steps, you'll not only captivate your audience but also secure a coveted spot on the first page of Google's search results. This coveted position is where the magic happens—a surge in web traffic, including highly sought-after organic traffic, and the mastery of traffic generation strategies that will set you apart in the competitive digital landscape.
As we delve deeper into this guide, you'll discover that it's not just about creating content; it's about crafting content that resonates, engages, and drives high-quality traffic. If you're eager to embark on a journey toward SEO mastery, increase your website's traffic manifold, and explore the art of creating professional articles, then this guide is your gateway to success. Let's embark on this enlightening journey together.
To Learn More details about SEO Strategies, please visit our full article https://www.superhero-marketing.com/2023/10/10-steps-to-make-professional-article.html
Internal training presentation about how I go about advocating Yahoo to the outside world and what gets me pretty excited about our developer offers at the moment.
This document discusses programming and the web development process. It begins by defining programming as a set of instructions to solve a problem, using the example of instructions for making a peanut butter and jelly sandwich. It then discusses why learning programming is important. The rest of the document outlines the typical steps in the web development process, including user experience design, information architecture, visual design, and development. It provides examples of each step and timelines for hypothetical web projects.
If you're running a tech start-up, it's essential that you familiarize yourself with the fundamentals of web development. Ultimately knowing how to "talk to the talk" will help you communicate better with developers, and overall just look really cool.
In this hour and a half long workshop, Chris Castiglione, experienced developer and founder of One Month Rails, will tackle some development principles and answer questions to get you on the right path, such as, "Front-end vs. Back-end?", "Is UX necessary for my project?", "What is this Javascript function thingy, and why am I passing it strange math equations to it?" He will also have you coding a bit yourself!
Leading a development team (without being a developer yourself) can sometimes feels like talking about dancing, and so this is an interactive and friendly environment in which to learn the basics. Come with questions, and a desire to have fun!
OneMonth.com
OneMonthHtml.com
OneMonthRails.com
Stop Worrying & Get On With It: Progressive Enhancement & Intentional Degrada...elliotjaystocks
Slides from my appearance at Web Directions South 09: a talk that combines my presentations 'Stop Worrying & Get On With It' and 'Progressive Enhancement & Intentional Degradation'.
This document discusses principles and best practices for collaboration within organizations. It addresses topics like establishing shared values and culture, defining roles and responsibilities across teams, implementing design systems for consistency, and emphasizing communication during the process of creating products and tools. The overall message is that collaborative work requires establishing discipline and guidelines while also allowing for flexibility and humanity between groups.
Stapling and patching the web of now - ForwardJS3, San FranciscoChristian Heilmann
This document summarizes a talk given by Chris Heilmann at ForwardJS in 2015. Heilmann discusses the state of web development technologies and how developers have focused too much on experimental features that are not ready for production use. This has led to a fragmented web where browsers implement features differently. He argues developers should focus on standardizing and improving existing web standards rather than constantly introducing new technologies. ES6 is highlighted as a priority for improving existing JavaScript.
This document discusses challenges facing the open web in a mobile-dominated world. It describes how mobile native platforms are stacked against the mobile web, providing better monetization and a perception that everything must work offline. It discusses the five stages of mourning for the open web, from denial to acceptance. It argues for focusing on simplicity, understanding other perspectives, and promoting the web through love instead of criticism.
The document discusses redesigning the BYU website to be more responsive and adaptive to different screen sizes. It notes that the current layout is outdated since it was designed in 2007 for 1024x768 screens. Modern browsers come in a variety of sizes from mobile to desktop and beyond. The document recommends a mobile-first approach using responsive web design techniques like flexible grids, fluid images, and media queries to dynamically serve optimized layouts depending on screen width. It also advocates progressive enhancement and polyfills to gracefully support older browsers.
Responsive, Scalable and Liquid DesignRanjeet Tayi
Responsive, Scalable and Liquid Design. This presentation talks about the new way of web design standard / technique aimed at crafting sites to provide an optimal viewing experience - easy reading - easily accessible and navigation with a minimum of resizing, panning, and scrolling across a wide range of devices along with various examples.
Rails is not enough, by Javier Ramirez, at Conferencia Rails 2010 in Madrid, ...javier ramirez
We rails people tend to think of Rails as the center-piece of web development. The same thing can be said of .net, Spring/Java Server Faces, Drupal, Python or name-your-web-framework-of-choice-here people.
Web frameworks are just a component of web applications, and if you want to succeed you better know the miriads of other components beyond your rockstar code.
In my session I will talk about things you must take into account and tools/techniques you should master if you want to make a difference in web development, independently of your development language/framework.
Talk delivered at conferencia rails 2010 in Madrid, Spain.
Collaboration between LINE, Microsoft and AI by the developers, for the devel...LINE Corporation
LINE DEVELOPER DAY 2017 B-3
Microsoft Bot Framework and Microsoft Cognitive Services help accelerate bot application development. I will link them to the LINE Messaging API, and show you how an exciting bot application is made through a live coding performance. The heat is on!
The document discusses progressive web apps (PWAs) and outlines key considerations for creating a PWA. It addresses questions around what a PWA is, how to make a website feel like an app, offline functionality, push notifications, and creating a roadmap. Examples from companies that implemented PWAs successfully are provided. The conclusion recommends developing a progressive roadmap that starts with baseline PWA features and builds out functionality over time based on priorities and initiatives.
Part 2: Intermediate Designing for Multiple Devices - GA London, 31 Jul 2013Anna Dahlström
Slides from the second of my 3 part series classes at General Assembly in London on the 31st of July 2013.
https://generalassemb.ly/education/designing-for-multiple-devices-3-part-series/london/2172
ABSTRACT
This follow-on session will build onto the guiding principles covered in the previous class, taking a closer look at:
- the common challenges faced when designing for multiple devices and how to address them
- content strategy and hierarchy across devices
- app structures and navigation patterns for responsive design
- how to test both responsive sites and apps
VueJS is a progressive framework for building user interfaces. It introduces key concepts like the MVVM pattern, reactivity system, lifecycle hooks and components. The document discusses various aspects of VueJS including using .vue files with different languages for templates, styles and scripts. It also covers Vuex for state management, Vue Router for routing, VueStrap for Bootstrap components, and integrating JWT authentication with Auth0.
Famo.us - New generation of HTML5 Web Application FrameworkHina Chen
This document provides an overview of Famo.us, a new generation HTML5 web application framework. It discusses Famo.us' render engine and how it improves performance over traditional approaches by utilizing a virtual "render tree". Key aspects of Famo.us like modifiers, events handling, and views/widgets are explained. Examples are provided to illustrate challenges and their solutions in Famo.us. Integration with other frameworks like Angular and tools for building with Famo.us are also mentioned.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
Architectural and constructions management experience since 2003 including 18 years located in UAE.
Coordinate and oversee all technical activities relating to architectural and construction projects,
including directing the design team, reviewing drafts and computer models, and approving design
changes.
Organize and typically develop, and review building plans, ensuring that a project meets all safety and
environmental standards.
Prepare feasibility studies, construction contracts, and tender documents with specifications and
tender analyses.
Consulting with clients, work on formulating equipment and labor cost estimates, ensuring a project
meets environmental, safety, structural, zoning, and aesthetic standards.
Monitoring the progress of a project to assess whether or not it is in compliance with building plans
and project deadlines.
Attention to detail, exceptional time management, and strong problem-solving and communication
skills are required for this role.
Fonts play a crucial role in both User Interface (UI) and User Experience (UX) design. They affect readability, accessibility, aesthetics, and overall user perception.
EASY TUTORIAL OF HOW TO USE CAPCUT BY: FEBLESS HERNANEFebless Hernane
CapCut is an easy-to-use video editing app perfect for beginners. To start, download and open CapCut on your phone. Tap "New Project" and select the videos or photos you want to edit. You can trim clips by dragging the edges, add text by tapping "Text," and include music by selecting "Audio." Enhance your video with filters and effects from the "Effects" menu. When you're happy with your video, tap the export button to save and share it. CapCut makes video editing simple and fun for everyone!
Explore the essential graphic design tools and software that can elevate your creative projects. Discover industry favorites and innovative solutions for stunning design results.
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page pmgdscunsri
Figma is a cloud-based design tool widely used by designers for prototyping, UI/UX design, and real-time collaboration. With features such as precision pen tools, grid system, and reusable components, Figma makes it easy for teams to work together on design projects. Its flexibility and accessibility make Figma a top choice in the digital age.
Practical eLearning Makeovers for EveryoneBianca Woods
Welcome to Practical eLearning Makeovers for Everyone. In this presentation, we’ll take a look at a bunch of easy-to-use visual design tips and tricks. And we’ll do this by using them to spruce up some eLearning screens that are in dire need of a new look.
2. ABOUT ME
Hina Chen, a.k.a. 閃光洽
農夫
鐵工
居家修繕
http://blog.hinablue.me
3. BEFORE WE START...
You should know about,
WebConf@2013 ROCK!!!
http://webconf.hinablue.me/2013
Baby don't go if you're in the wrong session.
Do not loudly if you have been reading the slide.
Do not snore if you are asleep.
Thank you all for join this session!
6. WHAT IS MEDIA QUERY ?
CSS3 bring awesome new part!
Vary simple way to feed different CSS based on
characteristic users' device.
Make us to re-think about "device".
Maybe easy to retrofix existing design.
7. WHAT THE MEDIA QUERY FOR ?
Your device.
And your devices.
8. WHAT THE MEDIA QUERY NOT FOR ?
Your feeling.
NOT based on browser.
Yes, it just based on @viewport size.
10. ABOUT @MEDIA
There are 3 way to go,
1. @media with <link> tag
㫪㫣㫠㫥㫢㫔㫩㫜㫣㫫㫔㫪㫫㫰㫣㫜㫪㫟㫜㫜㫫㫔㫔㫤㫜㫛㫠㫘㫫㫔㫪㫚㫩㫜㫜㫥㫔㫔㫟㫩㫜㫝㫫㫔㫜㫜㫜㫔㫬
2. @media with CSS
㫮㫤㫜㫛㫠㫘㫔㫪㫚㫩㫜㫜㫥㫔㫲㫔㫜㫜㫜㫔㫴
3. @media with @import
㫮㫠㫤㫧㫦㫩㫫㫔㫬㫩㫣㫖㫪㫚㫩㫜㫜㫥㫜㫚㫪㫪㫗㫔㫪㫚㫩㫜㫜㫥㫩
12. @MEDIA EXPRESSIONS
screen and ( max-width: 480px )
only screen and ( max-width: 768px )
not screen and ( max-width: 1024px )
screen, projection
unknown value will equal to "not all"
14. @MEDIA PROPERTIES UNIT
width, height use px, pt, pc, cm, mm, in
ratio use width/height, ie. 1024/768, 16/9
color, monochrome use number, ie. 1, 2, 3... etc.
resolution use dpi, dpcm
orientation only portrait and landscape are valid
value
scan only progressive and interlace are valid value
grid only 0 and 1 are vaild value
15. WHEN @MEDIA ACTUALLY WORK ?
Correct device with @media
㫮㫤㫜㫛㫠㫘㫔㫦㫥㫣㫰㫔㫪㫚㫩㫜㫜㫥㫔㫘㫥㫛㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫢㫦㫞㫧㫯㫔㫗
Expressions or properties matched
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫥㫤㫦㫧㫯㫔㫗㫔㫘㫥㫛㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫟㫞㫠㫢㫧㫯㫔㫗
"not all"
㫮㫤㫜㫛㫠㫘㫔㫫㫜㫪㫫
16. WE KNOWN THE MEDIA QUERY !
YAY!
http://www.flickr.com/photos/t0msk/4109452525/
26. WHY WE TALK ABOUT DENSITY ?
@media work based on @viewport rule.
㫮㫭㫠㫜㫮㫧㫦㫩㫫㫔㫲
㫔㫔㫔㫔㫮㫠㫛㫫㫟㫨㫔㫢㫞㫞㫧㫯㫩
㫴
㫮㫤㫜㫛㫠㫘㫔㫦㫥㫣㫰㫔㫪㫚㫩㫜㫜㫥㫔㫘㫥㫛㫔㫖㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫢㫦㫞㫧㫯㫗㫔㫲㫔㫜㫜㫜㫔㫴
Mobile devices has lots of resolution.
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫛㫮㫜㫙㫢㫠㫫㫛㫤㫠㫥㫛㫛㫜㫭㫠㫚㫜㫛㫧㫠㫯㫜㫣㫛㫩㫘㫫㫠㫦㫨㫔㫠㫔㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫠㫗㫟㫦㫥㫜㫢㫔㫘㫝
㫴
27. WHY WE CONSIDER THE DENSITY ?
In the mobile device (ie. iPhone4), screen resolution is
640x960 that specification say so. So, can we use @media
( max-width: 640px ) to do our job?
NO. You should use @media ( max-width: 320px ) cause
the device-pixel-ratio is 2.
28. DENSITY CONVERSION
Designing (and converting) for multiple mobile densities
29. “
As an example, if your page had an image that was 100px
by 100px, you'd provide an image that was 200px by
200px, but specify in CSS or as an attribute in HTML that
it is 100px by 100px.
The reason this works is that a pixel on the screen is not
the same as a CSS pixel. This is a good thing, because
otherwise as I say, things would be tiny.
--Rich Bradshaw
Pixel density, retina display and font-size in CSS ”
31. I DON'T WANT TO DO MATH !
Use "dppx", "vw", "vh"
Resolution Units
㫟㫛㫧㫧㫯㫔㫠㫪㫔㫜㫨㫬㫠㫭㫘㫣㫜㫥㫫㫔㫫㫦㫔㫧㫤㫛㫧㫠㫜
Viewport percentage lengthes
㫟㫭㫮㫔㫠㫪㫔㫜㫨㫬㫠㫭㫘㫣㫜㫥㫫㫔㫫㫦㫔㫡㫠㫧㫯㫚㫔㫠㫝㫔㫮㫠㫛㫫㫟㫔㫦㫝㫔㫫㫟㫜㫔㫭㫠㫜㫮㫧㫦㫩㫫㫔㫠㫪㫔㫡㫠㫞㫧㫯㫜
33. DESIGN FOR DIFFERENT DEVICES
different devices = different widths
start with browser if possible
wide or narrow
retrofit existing design
content first
34. START WITH DESKTOP STYLES
Good parts
Easy to start or retrofit existing design
IE 6-8 may work correctly without extra work
Otherwise
Requests Javascript or style to support mobile
design in IE Mobile or other mobile browsers
35. START WITH MOBILE STYLES
Good parts
Non-support media query browsers still get the
mobile style
Mobile device will not downloading unneeded
desktop style
Otherwise
Requests Javascript or style to support IE 6-8 to
make it work correctly
36. WHAT IS YOUR CHOOSE ?
http://www.flickr.com/photos/marfis75/8031936764/
41. WHAT'S QUERY WE HAVE ?
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫣㫣㫡㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫢㫦㫞㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫢㫢㫞㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫡㫠㫞㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫥㫤㫦㫧㫯㫔㫗㫔㫘㫥㫛㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫧㫥㫧㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫧㫦㫞㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫟㫞㫦㫞㫧㫯㫔㫗
total 105 lines in SASS
42. WHY OUR QUERIES SO ODDLY ?
WHY SO MANY MEDIA QUERY WE USED ?
44. LOOK AGAIN OUR QUERIES,
Bootstrap use,
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫢㫦㫞㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫥㫤㫦㫧㫯㫔㫗㫔㫘㫥㫛㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫧㫥㫧㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫧㫦㫞㫧㫯㫔㫗
We have,
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫣㫣㫡㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫢㫢㫞㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫡㫠㫞㫧㫯㫔㫗
㫮㫤㫜㫛㫠㫘㫔㫖㫔㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫟㫞㫦㫞㫧㫯㫔㫗
45. THE QUERY REALLY DO IS...
Make special size of your elements to fit the layout.
㫭㫘㫩㫔㫧㫩㫦㫤㫠㫪㫜㫔㫫㫔㫛㫦㫚㫬㫤㫜㫥㫫㫜㫙㫦㫛㫰㫜㫦㫝㫝㫪㫜㫫㫘㫠㫛㫫㫟㫔㫳㫳㫔㫛㫦㫚㫬㫤㫜㫥㫫㫜㫛㫦㫚㫬㫤㫜㫥㫫㫘㫣㫜㫤㫜㫥㫫㫜㫦㫝㫝㫪㫜㫫㫘㫠㫛㫫㫟㫔
㫳㫳㫔㫮㫠㫥㫛㫦㫮㫜㫠㫥㫥㫜㫩㫘㫠㫛㫫㫟㫩
㫠㫝㫔㫖㫔㫧㫩㫦㫤㫠㫪㫜㫔㫫㫫㫔㫤㫡㫡㫔㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫗㫦㫔㫰㫦㫬㫩㫔㫪㫧㫜㫚㫠㫘㫣㫔㫨㫬㫜㫩㫰㫔㫟㫜㫩㫜㫜㫔㫘㫝
㫴㫔㫜㫣㫪㫜㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫙㫠㫞㫟㫫㫔㫮㫠㫫㫟㫔㫰㫦㫬㫩㫔㫗㫗㫚㫔㫘㫥㫛㫔㫗㫘㫘㫗㫔㫯㫘㫗㫗㫘㫜㫔㫘㫝
㫴
46. SPECIAL WE USED
㫮㫤㫜㫛㫠㫘㫔㫖㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫣㫣㫡㫧㫯㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫧㫩㫜㫭㫠㫜㫮㫔㫚㫘㫩㫛㫔㫤㫘㫯㫤㫠㫬㫤㫔㫪㫠㫱㫜㫚㫔㫝㫦㫩㫚㫜㫔㫫㫦㫔㫘㫣㫠㫞㫥㫔㫚㫜㫥㫫㫜㫩㫔㫦㫝㫔㫧㫘㫞㫜㫜㫔㫘㫝
㫴
47. SPECIAL WE USED
㫮㫤㫜㫛㫠㫘㫔㫖㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫟㫞㫦㫞㫧㫯㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫧㫩㫜㫭㫠㫜㫮㫔㫚㫘㫩㫛㫔㫤㫘㫯㫤㫠㫬㫤㫔㫪㫠㫱㫜㫚㫔㫝㫦㫩㫚㫜㫔㫫㫦㫔㫘㫣㫠㫞㫥㫔㫚㫜㫥㫫㫜㫩㫔㫦㫝㫔㫧㫘㫞㫜㫜㫔㫘㫝
㫴
48. START WITH DESKTOP STYLES ?
Actually, we tried, and we failed.
Retrofit existing design is too difficult.
Original design is NOT content first.
Visual design cannot reuse in the narrow styles.
Alomst overwriting all the style we have.
Vary hard to fine tune in the mobile device.
We do REALLY not want to test Android devices.
51. WHAT IS @VIEWPORT ?
show your layout in the viewable area.
zoom in/out your layout with client behavior.
fit some rules with the device.
@media depends on @viewport size.
52. WHAT THE @VIEWPORT DO ?
initial viewport
Initial some properties which the device really have
and IT IS READ-ONLY. In the other word, it called
"visual viewport".
actual viewport
After initial viewport, this is the rules you setting in
the viewport, in the other word, it called "layout
viewport".
53. WHY WE LEARN ABOUT @VIEWPORT ?
TL; DR
A tale of two viewports — part two
w3c, css device adaptation
54. I DO NOT WANT TO LEARN.
http://www.flickr.com/photos/jdblundell/3324932274/
55. OK, JUST COPY AND PASTE
html5-boilerplate
㫪㫤㫜㫫㫘㫔㫥㫘㫤㫜㫫㫔㫭㫠㫜㫮㫧㫦㫩㫫㫔㫔㫚㫦㫥㫫㫜㫥㫫㫫㫔㫮㫠㫛㫫㫟㫫㫛㫜㫭㫠㫚㫜㫛㫮㫠㫛㫫㫟㫔㫬
or this one,
㫪㫤㫜㫫㫘㫔㫥㫘㫤㫜㫫㫔㫭㫠㫜㫮㫧㫦㫩㫫㫔㫔㫚㫦㫥㫫㫜㫥㫫㫫㫔㫮㫠㫛㫫㫟㫫㫛㫜㫭㫠㫚㫜㫛㫮㫠㫛㫫㫟㫩㫔㫠㫥㫠㫫㫠㫘㫣㫛㫪㫚㫘㫣㫜㫫㫟㫔㫬
or this one,
㫪㫤㫜㫫㫘㫔㫥㫘㫤㫜㫫㫔㫭㫠㫜㫮㫧㫦㫩㫫㫔㫔㫚㫦㫥㫫㫜㫥㫫㫫㫔㫮㫠㫛㫫㫟㫫㫛㫜㫭㫠㫚㫜㫛㫮㫠㫛㫫㫟㫩㫔㫠㫥㫠㫫㫠㫘㫣㫛㫪㫚㫘㫣㫜㫫㫟㫩㫔㫤㫠㫥㫠㫤㫬㫤㫛㫪㫚㫘㫣
㫜㫫㫟㫜㫞㫔㫬
56. AND DO NOT ASK ME WHY !
GOOGLE IT, PLEASE.
http://www.flickr.com/photos/lassi_kurkijarvi/3456993824/
57. LITTLE QUIZ
WOULD YOU REALLY KNOW ABOUT @MEDIA ?
http://www.flickr.com/photos/albertogp123/5843577306/
58. Q1: WHICH @MEDIA WILL WORK ?
㫮㫭㫠㫜㫮㫧㫦㫩㫫㫔㫲
㫔㫔㫔㫔㫮㫠㫛㫫㫟㫨㫔㫢㫞㫞㫧㫯㫩
㫴
㫮㫤㫜㫛㫠㫘㫔㫪㫚㫩㫜㫜㫥㫔㫘㫥㫛㫔㫖㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫢㫦㫞㫧㫯㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫥㫘㫩㫩㫦㫮㫔㫪㫫㫰㫣㫜㫔㫘㫝
㫴
㫮㫤㫜㫛㫠㫘㫔㫪㫚㫩㫜㫜㫥㫔㫘㫥㫛㫔㫖㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫥㫤㫦㫧㫯㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫮㫠㫛㫜㫔㫪㫫㫰㫣㫜㫔㫘㫝
㫴
㫮㫤㫜㫛㫠㫘㫔㫪㫚㫩㫜㫜㫥㫔㫘㫥㫛㫔㫖㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫟㫠㫞㫞㫧㫯㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫭㫜㫩㫰㫔㫮㫠㫛㫜㫔㫪㫫㫰㫣㫜㫔㫘㫝
㫴
59. Q2: WHICH @MEDIA WILL WORK ?
㫮㫭㫠㫜㫮㫧㫦㫩㫫㫔㫲
㫔㫔㫔㫔㫮㫠㫛㫫㫟㫨㫔㫧㫠㫞㫧㫯㫩
㫴
㫮㫤㫜㫛㫠㫘㫔㫪㫚㫩㫜㫜㫥㫔㫘㫥㫛㫔㫖㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫢㫦㫞㫧㫯㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫥㫘㫩㫩㫦㫮㫔㫪㫫㫰㫣㫜㫔㫘㫝
㫴
㫮㫤㫜㫛㫠㫘㫔㫪㫚㫩㫜㫜㫥㫔㫘㫥㫛㫔㫖㫤㫘㫯㫛㫮㫠㫛㫫㫟㫨㫔㫥㫤㫦㫧㫯㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫮㫠㫛㫫㫔㫪㫫㫰㫣㫜㫔㫘㫝
㫴
㫮㫤㫜㫛㫠㫘㫔㫪㫚㫩㫜㫜㫥㫔㫘㫥㫛㫔㫖㫤㫠㫥㫛㫮㫠㫛㫫㫟㫨㫔㫟㫠㫞㫞㫧㫯㫗㫔㫲
㫔㫔㫔㫔㫝㫘㫔㫭㫜㫩㫰㫔㫮㫠㫛㫜㫔㫪㫫㫰㫣㫜㫔㫘㫝
㫴
60. ANSWER
Q1:
narrow style will work, wide style will overwrite if the
same properties occur.
Q2:
all does not work.
61. YOUR ANSWER IS ALL WRONG ?
http://www.flickr.com/photos/proimos/4199675334/
62. LOOK AGAIN @VIEWPORT PROPERTIES
Those can work with <meta> tag,
width, height
initial-scale
minimum-scale, maximum-scale
user-scalable
target-densityDpi
㫫㫘㫩㫞㫜㫫㫛㫛㫜㫥㫪㫠㫫㫰㫗㫧㫠㫔㫡㫬㫪㫫㫔㫮㫦㫩㫢㫔㫠㫥㫔㫪㫦㫤㫜㫔㫘㫥㫛㫩㫦㫠㫛㫔㫛㫜㫭㫠㫚㫜㫪㫜
64. @VIEWPORT, @MEDIA AND JS
For example, use the iPhone4,
@viewport use 480px
@media ( max-width: 480px ) will work
"device-width" in the @media told me "320px"
㫛㫦㫚㫬㫤㫜㫥㫫㫜㫛㫦㫚㫬㫤㫜㫥㫫㫘㫣㫜㫤㫜㫥㫫㫜㫦㫝㫝㫪㫜㫫㫘㫠㫛㫫㫟 told me
"480px"
㫪㫚㫩㫜㫜㫥㫜㫮㫠㫛㫫㫟 told me "320px"
66. @VIEWPORT IN REAL WORLD
visual and layout viewport
A tale of two viewports — part two
67. @VIEWPORT IN REAL WORLD
visual viewport = layout viewport
A tale of two viewports — part two
68. SO, JUST COPY AND PASTE
html5-boilerplate
㫪㫤㫜㫫㫘㫔㫥㫘㫤㫜㫫㫔㫭㫠㫜㫮㫧㫦㫩㫫㫔㫔㫚㫦㫥㫫㫜㫥㫫㫫㫔㫮㫠㫛㫫㫟㫫㫛㫜㫭㫠㫚㫜㫛㫮㫠㫛㫫㫟㫔㫬
or this one,
㫪㫤㫜㫫㫘㫔㫥㫘㫤㫜㫫㫔㫭㫠㫜㫮㫧㫦㫩㫫㫔㫔㫚㫦㫥㫫㫜㫥㫫㫫㫔㫮㫠㫛㫫㫟㫫㫛㫜㫭㫠㫚㫜㫛㫮㫠㫛㫫㫟㫩㫔㫠㫥㫠㫫㫠㫘㫣㫛㫪㫚㫘㫣㫜㫫㫟㫔㫬
or this one,
㫪㫤㫜㫫㫘㫔㫥㫘㫤㫜㫫㫔㫭㫠㫜㫮㫧㫦㫩㫫㫔㫔㫚㫦㫥㫫㫜㫥㫫㫫㫔㫮㫠㫛㫫㫟㫫㫛㫜㫭㫠㫚㫜㫛㫮㫠㫛㫫㫟㫩㫔㫠㫥㫠㫫㫠㫘㫣㫛㫪㫚㫘㫣㫜㫫㫟㫩㫔㫤㫠㫥㫠㫤㫬㫤㫛㫪㫚㫘㫣
㫜㫫㫟㫜㫞㫔㫬
70. RWD AND @MEDIA
Maybe you think,
㫔㫔㫔㫔㫤㫦㫙㫠㫣㫜㫔㫮㫜㫙㫔㫧㫘㫞㫜
㫔㫔㫔㫔㫙㫔㫮㫤㫜㫛㫠㫘㫔㫨㫬㫜㫩㫰
㫔㫔㫔㫔㫫㫔㫛㫜㫪㫢㫫㫦㫧㫔㫮㫜㫙㫔㫧㫘㫞㫜
The way we use,
㫔㫔㫔㫔㫛㫜㫪㫢㫫㫦㫧㫔㫮㫜㫙㫔㫧㫘㫞㫜
㫔㫔㫔㫔㫙㫔㫮㫤㫜㫛㫠㫘㫔㫨㫬㫜㫩㫰
㫔㫔㫔㫔㫫㫔㫤㫦㫙㫠㫣㫜㫔㫮㫜㫙㫔㫧㫘㫞㫜
71. RWD AND @MEDIA
Which dimension as starting point ?
Where and how to make breaking points ?
How to test against media features ?
Non-supporting browsers.
72. “
The choice is not between using media queries and
creating a dedicated mobile site; the choice is between
using media queries and doing nothing at all.
That said, in many situations the content you want to
serve up will be the same regardless of context.
--Jeremy Keith
A responsive mind
”
73. RE-THINK ABOUT THE WEB DESIGN
A Dao of Web Design
http://www.flickr.com/photos/tahini/5810915356/
74. SUMMARY, FINALLY
@media based on @viewport size.
RWD depends on media query or Javascript.
DO NOT USE strange setting with @viewport, if you
don'y know why you do.
Use the @media carefully, do the @media style once,
not overwriting at all.
Think about your content again.
DO NOT fight with your visual designer.
76. REFERENCES & RESOURCES
CSS3 Media Queries
Meta Layout: a closer look at media queries
MEDIA QUERIES PRESENTATION AT INDIECONF
ESSENTIAL CONSIDERATIONS FOR CRAFTING QUALITY MEDIA QUERIES
Rethinking the Mobile Web
Responsive Web Design
A dao of Web Design
More about device-pixel-ratio
A tale of two viewports - part two
CSS Device Adaptation
CSS3 Media Queries
Resolution Units
Viewport percentage lengthes
List of displays by pixel density