📱Phone

Xiaomi Mi 2

Phone

Device Specifications

📐 Display Information

Viewport Size:360x640
Device Resolution:720x1280
Screen Size:4.3"
Pixel Ratio:2x
Density PPI:342
CSS PPI:171

ℹ️ What is Viewport?

Viewport size (360x640) is the CSS pixel dimensions used in responsive web design and media queries. This is what developers see in browser developer tools.

Device resolution (720x1280) is the actual number of physical pixels on the screen.

Pixel ratio (2x) means 2physical pixels = 1 CSS pixel. Higher ratios provide sharper displays.

📱 Media Query Breakpoints

@media (max-width: 360px)Portrait width breakpoint
@media (max-width: 640px)Portrait height breakpoint
@media (min-width: 361px)Above this device width

🔍 PPI Explanation

Density PPI:342

Physical pixels per inch (higher = sharper)

CSS PPI:171

Effective PPI for web development

📊 Viewport Comparison

DeviceViewportResolutionScreen SizePixel Ratio
Xiaomi Mi 2360x640720x12804.3"2x
iPhone X375x8121125x24365.8"3x

💡 Notes for Developers

Responsive Design: Use media queries based on viewport width (360px) for this device.
Pixel Density: This device has a 2x pixel ratio, meaning images should be provided in @2x or @3x resolutions.
Touch Targets: Minimum touch target size should be 44x44px for this screen density.
Typography: Base font size of 16px will appear at 171 PPI on this device.