SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Utfordringer med mobil
webutvikling
Utfordringer med mobil
webutvikling
Dritt man må
forholde seg til
<meta name="viewport" content="name=value,name=value">
<meta name="viewport" content="???">
• Eks:
• <meta name="viewport" content="width=320">
• <meta name="viewport" content="width=device-width">
• <meta name="viewport" content="initial-scale=1">
• <meta name="viewport" content="height=500">
• <meta name="viewport" content="user-scalable=no">
• <meta name="viewport" content="maximum-scale=2">
• <meta name="viewport" content="minimum-scale=0.2">
<meta name="viewport" content="???">
• Eks:
• <meta name="viewport" content="width=320">
• <meta name="viewport" content="width=device-width">
• <meta name="viewport" content="initial-scale=1">
• <meta name="viewport" content="height=500">
• <meta name="viewport" content="user-scalable=no">
• <meta name="viewport" content="maximum-scale=2">
• <meta name="viewport" content="minimum-scale=0.2">
width=device-width
??
• The reference pixel is the visual angle of one pixel on a device with a
pixel density of 96dpi and a distance from the reader of an arm’s
length. For a nominal arm’s length of 28 inches, the visual angle is
therefore about 0.0213 degrees. For reading at arm’s length, 1px thus
corresponds to about 0.26 mm (1/96 inch).
CSS pixel
??
width=device-width
width=device-width
Dvs: “iphone1-width”
Dvs: 320px
iPhone 5
- 980
user-scalable=no 980
initial-scale=1 320
initial-scale=2 160
height=400 279
user-scalable=no,initial-scale=1 320
user-scalable=no,initial-scale=2 160
user-scalable=no,height=400 279
initial-scale=1,initial-scale=2 160
initial-scale=1,height=400 320
initial-scale=2,height=400 160
width=device-width,user-scalable=no 320
width=device-width,initial-scale=1 320
width=device-width,initial-scale=2 160
width=device-width,height=400 279
width=device-width,user-scalable=no,initial-scale=1 320
width=device-width,user-scalable=no,initial-scale=2 160
width=device-width,user-scalable=no,height=400 279
width=device-width,initial-scale=1,initial-scale=2 160
width=device-width,initial-scale=1,height=400 320
width=device-width,initial-scale=2,height=400 160
width=320,user-scalable=no 320
width=320,initial-scale=1 320
width=320,initial-scale=2 160
width=320,height=400 279
width=320,user-scalable=no,initial-scale=1 320
width=320,user-scalable=no,initial-scale=2 160
width=320,user-scalable=no,height=400 279
width=320,initial-scale=1,initial-scale=2 160
width=320,initial-scale=1,height=400 320
width=320,initial-scale=2,height=400 160
width=640,user-scalable=no 640
width=640,initial-scale=1 320
width=640,initial-scale=2 160
width=640,height=400 279
width=640,user-scalable=no,initial-scale=1 320
width=640,user-scalable=no,initial-scale=2 160
width=640,user-scalable=no,height=400 279
width=640,initial-scale=1,initial-scale=2 160
width=640,initial-scale=1,height=400 320
width=640,initial-scale=2,height=400 160
"" 320
width=device-width 320
width=320 320
width=640 640
iPhone 5 Android
- 980 980
user-scalable=no 980 320
initial-scale=1 320 320
initial-scale=2 160 160
height=400 279 980
user-scalable=no,initial-scale=1 320 320
user-scalable=no,initial-scale=2 160 320
user-scalable=no,height=400 279 320
initial-scale=1,initial-scale=2 160 160
initial-scale=1,height=400 320 320
initial-scale=2,height=400 160 160
width=device-width,user-scalable=no 320 320
width=device-width,initial-scale=1 320 320
width=device-width,initial-scale=2 160 160
width=device-width,height=400 279 320
width=device-width,user-scalable=no,initial-scale=1 320 320
width=device-width,user-scalable=no,initial-scale=2 160 320
width=device-width,user-scalable=no,height=400 279 320
width=device-width,initial-scale=1,initial-scale=2 160 160
width=device-width,initial-scale=1,height=400 320 320
width=device-width,initial-scale=2,height=400 160 160
width=320,user-scalable=no 320 320
width=320,initial-scale=1 320 320
width=320,initial-scale=2 160 160
width=320,height=400 279 320
width=320,user-scalable=no,initial-scale=1 320 320
width=320,user-scalable=no,initial-scale=2 160 320
width=320,user-scalable=no,height=400 279 320
width=320,initial-scale=1,initial-scale=2 160 160
width=320,initial-scale=1,height=400 320 320
width=320,initial-scale=2,height=400 160 160
width=640,user-scalable=no 640 320
width=640,initial-scale=1 320 320
width=640,initial-scale=2 160 160
width=640,height=400 279 640
width=640,user-scalable=no,initial-scale=1 320 320
width=640,user-scalable=no,initial-scale=2 160 320
width=640,user-scalable=no,height=400 279 320
width=640,initial-scale=1,initial-scale=2 160 160
width=640,initial-scale=1,height=400 320 320
width=640,initial-scale=2,height=400 160 160
"" 320 320
width=device-width 320 320
width=320 320 320
width=640 640 640
iPhone 5 w: 640, h:1135 Android WP8 rapporterer WP8 er
- 980 980 1024 1024
user-scalable=no 980 320 768 1024
initial-scale=1 320 320 768 320
initial-scale=2 160 160 768 320
height=400 279 980 768 320
user-scalable=no,initial-scale=1 320 320 768 320
user-scalable=no,initial-scale=2 160 320 768 320
user-scalable=no,height=400 279 320 768 320
initial-scale=1,initial-scale=2 160 160 768 320
initial-scale=1,height=400 320 320 768 320
initial-scale=2,height=400 160 160 768 320
width=device-width,user-scalable=no 320 320 768 320
width=device-width,initial-scale=1 320 320 768 320
width=device-width,initial-scale=2 160 160 768 320
width=device-width,height=400 279 320 768 320
width=device-width,user-scalable=no,initial-scale=1 320 320 320 320
width=device-width,user-scalable=no,initial-scale=2 160 320 768 320
width=device-width,user-scalable=no,height=400 279 320 768 320
width=device-width,initial-scale=1,initial-scale=2 160 160 320 320
width=device-width,initial-scale=1,height=400 320 320 768 320
width=device-width,initial-scale=2,height=400 160 160 320 320
width=320,user-scalable=no 320 320 768 320
width=320,initial-scale=1 320 320 320 320
width=320,initial-scale=2 160 160 768 320
width=320,height=400 279 320 320 320
width=320,user-scalable=no,initial-scale=1 320 320 768 320
width=320,user-scalable=no,initial-scale=2 160 320 320 320
width=320,user-scalable=no,height=400 279 320 768 320
width=320,initial-scale=1,initial-scale=2 160 160 320 320
width=320,initial-scale=1,height=400 320 320 768 320
width=320,initial-scale=2,height=400 160 160 320 320
width=640,user-scalable=no 640 320 768 640
width=640,initial-scale=1 320 320 640 640
width=640,initial-scale=2 160 160 768 640
width=640,height=400 279 640 640 640
width=640,user-scalable=no,initial-scale=1 320 320 768 640
width=640,user-scalable=no,initial-scale=2 160 320 640 640
width=640,user-scalable=no,height=400 279 320 640 640
width=640,initial-scale=1,initial-scale=2 160 160 768 640
width=640,initial-scale=1,height=400 320 320 640 640
width=640,initial-scale=2,height=400 160 160 768 640
"" 320 320 768 1024
width=device-width 320 320 768 320
width=320 320 320 768 320
width=640 640 640 768 640
@media screen and (min-resolution: <X> dpi) {
@viewport {
width: <Y>;
}
}
@media screen and (min-device-pixel-ratio: <X>) {
@viewport {
width: <Y>;
}
}
Konklusjon:
• Lær deg å leve med device-width (320px)
Spørsmål?

Weitere ähnliche Inhalte

Andere mochten auch

2 chapter ( Making of pakistan )
2 chapter  ( Making of pakistan )2 chapter  ( Making of pakistan )
2 chapter ( Making of pakistan )Hasnat khan
 
Richmen BTL Marketing Corporate Profile
Richmen BTL Marketing Corporate ProfileRichmen BTL Marketing Corporate Profile
Richmen BTL Marketing Corporate ProfileMohit Shankhdhar
 
Clasificacion de alimentos por riesgo
Clasificacion de alimentos por riesgoClasificacion de alimentos por riesgo
Clasificacion de alimentos por riesgocesar jesus azarias
 
7 tips to painlessly pull a loose tooth view
7 tips to painlessly pull a loose tooth view7 tips to painlessly pull a loose tooth view
7 tips to painlessly pull a loose tooth viewSteffany Mohan
 
PortflioAmirаSRAhmad
PortflioAmirаSRAhmadPortflioAmirаSRAhmad
PortflioAmirаSRAhmadAmira Ahmad
 
Plan de negocios para las pequeñas y medianas empresas.
Plan de negocios para las pequeñas y medianas empresas.Plan de negocios para las pequeñas y medianas empresas.
Plan de negocios para las pequeñas y medianas empresas.claudiarussos
 
Six Month Smile Makeover: A Case Study
Six Month Smile Makeover: A Case StudySix Month Smile Makeover: A Case Study
Six Month Smile Makeover: A Case StudySteffany Mohan
 
Oral Health Care: Iowa
Oral Health Care: IowaOral Health Care: Iowa
Oral Health Care: IowaSteffany Mohan
 
FBDataAnalytics 2 of 3_DWE
FBDataAnalytics 2 of 3_DWEFBDataAnalytics 2 of 3_DWE
FBDataAnalytics 2 of 3_DWEJessie Axel
 
JessieAxel_Resume2015
JessieAxel_Resume2015JessieAxel_Resume2015
JessieAxel_Resume2015Jessie Axel
 
Lifecycle Stage + Buyer Persona = Content Mapping Template
Lifecycle Stage + Buyer Persona = Content Mapping TemplateLifecycle Stage + Buyer Persona = Content Mapping Template
Lifecycle Stage + Buyer Persona = Content Mapping TemplateJessie Axel
 

Andere mochten auch (13)

2 chapter ( Making of pakistan )
2 chapter  ( Making of pakistan )2 chapter  ( Making of pakistan )
2 chapter ( Making of pakistan )
 
Richmen BTL Marketing Corporate Profile
Richmen BTL Marketing Corporate ProfileRichmen BTL Marketing Corporate Profile
Richmen BTL Marketing Corporate Profile
 
Clasificacion de alimentos por riesgo
Clasificacion de alimentos por riesgoClasificacion de alimentos por riesgo
Clasificacion de alimentos por riesgo
 
7 tips to painlessly pull a loose tooth view
7 tips to painlessly pull a loose tooth view7 tips to painlessly pull a loose tooth view
7 tips to painlessly pull a loose tooth view
 
Estructura.
Estructura.Estructura.
Estructura.
 
PortflioAmirаSRAhmad
PortflioAmirаSRAhmadPortflioAmirаSRAhmad
PortflioAmirаSRAhmad
 
Plan de negocios para las pequeñas y medianas empresas.
Plan de negocios para las pequeñas y medianas empresas.Plan de negocios para las pequeñas y medianas empresas.
Plan de negocios para las pequeñas y medianas empresas.
 
Six Month Smile Makeover: A Case Study
Six Month Smile Makeover: A Case StudySix Month Smile Makeover: A Case Study
Six Month Smile Makeover: A Case Study
 
Oral Health Care: Iowa
Oral Health Care: IowaOral Health Care: Iowa
Oral Health Care: Iowa
 
Claudia russo
Claudia russoClaudia russo
Claudia russo
 
FBDataAnalytics 2 of 3_DWE
FBDataAnalytics 2 of 3_DWEFBDataAnalytics 2 of 3_DWE
FBDataAnalytics 2 of 3_DWE
 
JessieAxel_Resume2015
JessieAxel_Resume2015JessieAxel_Resume2015
JessieAxel_Resume2015
 
Lifecycle Stage + Buyer Persona = Content Mapping Template
Lifecycle Stage + Buyer Persona = Content Mapping TemplateLifecycle Stage + Buyer Persona = Content Mapping Template
Lifecycle Stage + Buyer Persona = Content Mapping Template
 

Ähnlich wie Dritt man må forholde seg til

Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...Patrick Lauke
 
Adaptive Layouts - standards>next London 28.05.2011
Adaptive Layouts - standards>next London 28.05.2011Adaptive Layouts - standards>next London 28.05.2011
Adaptive Layouts - standards>next London 28.05.2011Patrick Lauke
 
Responsive Web in Brief
Responsive Web in BriefResponsive Web in Brief
Responsive Web in BriefEPAM
 
Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...Andreas Bovens
 
Adaptive layouts - standards>next Manchester 23.03.2011
Adaptive layouts - standards>next Manchester 23.03.2011Adaptive layouts - standards>next Manchester 23.03.2011
Adaptive layouts - standards>next Manchester 23.03.2011Patrick Lauke
 
Mobile web development techniques (and Opera's developer tools)
Mobile web development techniques (and Opera's developer tools)Mobile web development techniques (and Opera's developer tools)
Mobile web development techniques (and Opera's developer tools)Andreas Bovens
 
Once Source to Rule Them All
Once Source to Rule Them AllOnce Source to Rule Them All
Once Source to Rule Them AllDavid Yeiser
 
The specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktopThe specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktopbetabeers
 
Mobile Web Development
Mobile Web DevelopmentMobile Web Development
Mobile Web DevelopmentJonathan Snook
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive WebsitesJoe Seifi
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5Ron Reiter
 
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Patrick Lauke
 
Responsive website design
Responsive website designResponsive website design
Responsive website designsvaithiyalingam
 
Android Lab Test : Using the WIFI (english)
Android Lab Test : Using the WIFI (english)Android Lab Test : Using the WIFI (english)
Android Lab Test : Using the WIFI (english)Bruno Delb
 
"Conditionally adaptive" Vadim Makeev
"Conditionally adaptive" Vadim Makeev"Conditionally adaptive" Vadim Makeev
"Conditionally adaptive" Vadim MakeevFwdays
 
Pinkoi Mobile Web
Pinkoi Mobile WebPinkoi Mobile Web
Pinkoi Mobile Webmikeleeme
 
スマートフォンサイトの作成術 - 大川洋一
スマートフォンサイトの作成術 - 大川洋一スマートフォンサイトの作成術 - 大川洋一
スマートフォンサイトの作成術 - 大川洋一okyawa
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12touchtitans
 

Ähnlich wie Dritt man må forholde seg til (20)

Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
Adapt and respond - mobile-friendly layouts beyond the desktop - standards>ne...
 
Adaptive Layouts - standards>next London 28.05.2011
Adaptive Layouts - standards>next London 28.05.2011Adaptive Layouts - standards>next London 28.05.2011
Adaptive Layouts - standards>next London 28.05.2011
 
Responsive Web in Brief
Responsive Web in BriefResponsive Web in Brief
Responsive Web in Brief
 
Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...
 
Adaptive layouts - standards>next Manchester 23.03.2011
Adaptive layouts - standards>next Manchester 23.03.2011Adaptive layouts - standards>next Manchester 23.03.2011
Adaptive layouts - standards>next Manchester 23.03.2011
 
Mobile web development techniques (and Opera's developer tools)
Mobile web development techniques (and Opera's developer tools)Mobile web development techniques (and Opera's developer tools)
Mobile web development techniques (and Opera's developer tools)
 
Once Source to Rule Them All
Once Source to Rule Them AllOnce Source to Rule Them All
Once Source to Rule Them All
 
The specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktopThe specs behind the sex, mobile-friendly layout beyond the desktop
The specs behind the sex, mobile-friendly layout beyond the desktop
 
Mobile Web Development
Mobile Web DevelopmentMobile Web Development
Mobile Web Development
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
Multi screen HTML5
Multi screen HTML5Multi screen HTML5
Multi screen HTML5
 
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
Handys und Tablets - Webentwicklung jenseits des Desktops - WebTech Mainz 12....
 
Responsive website design
Responsive website designResponsive website design
Responsive website design
 
Android Lab Test : Using the WIFI (english)
Android Lab Test : Using the WIFI (english)Android Lab Test : Using the WIFI (english)
Android Lab Test : Using the WIFI (english)
 
"Conditionally adaptive" Vadim Makeev
"Conditionally adaptive" Vadim Makeev"Conditionally adaptive" Vadim Makeev
"Conditionally adaptive" Vadim Makeev
 
Pinkoi Mobile Web
Pinkoi Mobile WebPinkoi Mobile Web
Pinkoi Mobile Web
 
Web app
Web appWeb app
Web app
 
スマートフォンサイトの作成術 - 大川洋一
スマートフォンサイトの作成術 - 大川洋一スマートフォンサイトの作成術 - 大川洋一
スマートフォンサイトの作成術 - 大川洋一
 
Web app
Web appWeb app
Web app
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
 

Kürzlich hochgeladen

Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 

Kürzlich hochgeladen (20)

Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 

Dritt man må forholde seg til

  • 2. Utfordringer med mobil webutvikling Dritt man må forholde seg til
  • 3.
  • 4.
  • 6. <meta name="viewport" content="???"> • Eks: • <meta name="viewport" content="width=320"> • <meta name="viewport" content="width=device-width"> • <meta name="viewport" content="initial-scale=1"> • <meta name="viewport" content="height=500"> • <meta name="viewport" content="user-scalable=no"> • <meta name="viewport" content="maximum-scale=2"> • <meta name="viewport" content="minimum-scale=0.2">
  • 7. <meta name="viewport" content="???"> • Eks: • <meta name="viewport" content="width=320"> • <meta name="viewport" content="width=device-width"> • <meta name="viewport" content="initial-scale=1"> • <meta name="viewport" content="height=500"> • <meta name="viewport" content="user-scalable=no"> • <meta name="viewport" content="maximum-scale=2"> • <meta name="viewport" content="minimum-scale=0.2">
  • 9. • The reference pixel is the visual angle of one pixel on a device with a pixel density of 96dpi and a distance from the reader of an arm’s length. For a nominal arm’s length of 28 inches, the visual angle is therefore about 0.0213 degrees. For reading at arm’s length, 1px thus corresponds to about 0.26 mm (1/96 inch). CSS pixel ??
  • 12. iPhone 5 - 980 user-scalable=no 980 initial-scale=1 320 initial-scale=2 160 height=400 279 user-scalable=no,initial-scale=1 320 user-scalable=no,initial-scale=2 160 user-scalable=no,height=400 279 initial-scale=1,initial-scale=2 160 initial-scale=1,height=400 320 initial-scale=2,height=400 160 width=device-width,user-scalable=no 320 width=device-width,initial-scale=1 320 width=device-width,initial-scale=2 160 width=device-width,height=400 279 width=device-width,user-scalable=no,initial-scale=1 320 width=device-width,user-scalable=no,initial-scale=2 160 width=device-width,user-scalable=no,height=400 279 width=device-width,initial-scale=1,initial-scale=2 160 width=device-width,initial-scale=1,height=400 320 width=device-width,initial-scale=2,height=400 160 width=320,user-scalable=no 320 width=320,initial-scale=1 320 width=320,initial-scale=2 160 width=320,height=400 279 width=320,user-scalable=no,initial-scale=1 320 width=320,user-scalable=no,initial-scale=2 160 width=320,user-scalable=no,height=400 279 width=320,initial-scale=1,initial-scale=2 160 width=320,initial-scale=1,height=400 320 width=320,initial-scale=2,height=400 160 width=640,user-scalable=no 640 width=640,initial-scale=1 320 width=640,initial-scale=2 160 width=640,height=400 279 width=640,user-scalable=no,initial-scale=1 320 width=640,user-scalable=no,initial-scale=2 160 width=640,user-scalable=no,height=400 279 width=640,initial-scale=1,initial-scale=2 160 width=640,initial-scale=1,height=400 320 width=640,initial-scale=2,height=400 160 "" 320 width=device-width 320 width=320 320 width=640 640
  • 13. iPhone 5 Android - 980 980 user-scalable=no 980 320 initial-scale=1 320 320 initial-scale=2 160 160 height=400 279 980 user-scalable=no,initial-scale=1 320 320 user-scalable=no,initial-scale=2 160 320 user-scalable=no,height=400 279 320 initial-scale=1,initial-scale=2 160 160 initial-scale=1,height=400 320 320 initial-scale=2,height=400 160 160 width=device-width,user-scalable=no 320 320 width=device-width,initial-scale=1 320 320 width=device-width,initial-scale=2 160 160 width=device-width,height=400 279 320 width=device-width,user-scalable=no,initial-scale=1 320 320 width=device-width,user-scalable=no,initial-scale=2 160 320 width=device-width,user-scalable=no,height=400 279 320 width=device-width,initial-scale=1,initial-scale=2 160 160 width=device-width,initial-scale=1,height=400 320 320 width=device-width,initial-scale=2,height=400 160 160 width=320,user-scalable=no 320 320 width=320,initial-scale=1 320 320 width=320,initial-scale=2 160 160 width=320,height=400 279 320 width=320,user-scalable=no,initial-scale=1 320 320 width=320,user-scalable=no,initial-scale=2 160 320 width=320,user-scalable=no,height=400 279 320 width=320,initial-scale=1,initial-scale=2 160 160 width=320,initial-scale=1,height=400 320 320 width=320,initial-scale=2,height=400 160 160 width=640,user-scalable=no 640 320 width=640,initial-scale=1 320 320 width=640,initial-scale=2 160 160 width=640,height=400 279 640 width=640,user-scalable=no,initial-scale=1 320 320 width=640,user-scalable=no,initial-scale=2 160 320 width=640,user-scalable=no,height=400 279 320 width=640,initial-scale=1,initial-scale=2 160 160 width=640,initial-scale=1,height=400 320 320 width=640,initial-scale=2,height=400 160 160 "" 320 320 width=device-width 320 320 width=320 320 320 width=640 640 640
  • 14. iPhone 5 w: 640, h:1135 Android WP8 rapporterer WP8 er - 980 980 1024 1024 user-scalable=no 980 320 768 1024 initial-scale=1 320 320 768 320 initial-scale=2 160 160 768 320 height=400 279 980 768 320 user-scalable=no,initial-scale=1 320 320 768 320 user-scalable=no,initial-scale=2 160 320 768 320 user-scalable=no,height=400 279 320 768 320 initial-scale=1,initial-scale=2 160 160 768 320 initial-scale=1,height=400 320 320 768 320 initial-scale=2,height=400 160 160 768 320 width=device-width,user-scalable=no 320 320 768 320 width=device-width,initial-scale=1 320 320 768 320 width=device-width,initial-scale=2 160 160 768 320 width=device-width,height=400 279 320 768 320 width=device-width,user-scalable=no,initial-scale=1 320 320 320 320 width=device-width,user-scalable=no,initial-scale=2 160 320 768 320 width=device-width,user-scalable=no,height=400 279 320 768 320 width=device-width,initial-scale=1,initial-scale=2 160 160 320 320 width=device-width,initial-scale=1,height=400 320 320 768 320 width=device-width,initial-scale=2,height=400 160 160 320 320 width=320,user-scalable=no 320 320 768 320 width=320,initial-scale=1 320 320 320 320 width=320,initial-scale=2 160 160 768 320 width=320,height=400 279 320 320 320 width=320,user-scalable=no,initial-scale=1 320 320 768 320 width=320,user-scalable=no,initial-scale=2 160 320 320 320 width=320,user-scalable=no,height=400 279 320 768 320 width=320,initial-scale=1,initial-scale=2 160 160 320 320 width=320,initial-scale=1,height=400 320 320 768 320 width=320,initial-scale=2,height=400 160 160 320 320 width=640,user-scalable=no 640 320 768 640 width=640,initial-scale=1 320 320 640 640 width=640,initial-scale=2 160 160 768 640 width=640,height=400 279 640 640 640 width=640,user-scalable=no,initial-scale=1 320 320 768 640 width=640,user-scalable=no,initial-scale=2 160 320 640 640 width=640,user-scalable=no,height=400 279 320 640 640 width=640,initial-scale=1,initial-scale=2 160 160 768 640 width=640,initial-scale=1,height=400 320 320 640 640 width=640,initial-scale=2,height=400 160 160 768 640 "" 320 320 768 1024 width=device-width 320 320 768 320 width=320 320 320 768 320 width=640 640 640 768 640
  • 15. @media screen and (min-resolution: <X> dpi) { @viewport { width: <Y>; } }
  • 16. @media screen and (min-device-pixel-ratio: <X>) { @viewport { width: <Y>; } }
  • 17. Konklusjon: • Lær deg å leve med device-width (320px)