Skip to main content
OnePlus · 2024 · Phone

OnePlus 12

Full device reference for the OnePlus 12, including viewport size, native resolution, pixel density, DPR, and supporting responsive-design details.

$799 – $899Android 14.0Released 20246.7 INCH
Compare Device

Quick summary

Viewport

412 x 906 PX

Resolution

1440 x 3168 PX

Density

510 PPI

DPR

3.5 XXXHDPI

Copy viewport or resolution below

Viewport

412 x 906 PX

Resolution

1440 x 3168 PX

Density

510 PPI

DPR

3.5 XXXHDPI

What this device means for responsive design

The OnePlus 12 uses a viewport of 412 x 906 PX, which makes it a key target for mobile layout testing. Designers and developers should rely on the viewport value for CSS breakpoints, while the native resolution and DPR help explain image sharpness and rendering density.

Example breakpoint

@media (max-width: 412px) {
  /* target layouts around OnePlus 12 width */
}

Display profile

Screen size6.7 INCH
Device density146 PPI
Pixel density510 PPI
Device pixel ratio3.5 XXXHDPI
Refresh rate120Hz LTPO AMOLED

Detailed specifications

A clean reference table for the most important device and display values.

BrandOnePlus
CategoryPhone
Release2024
Operating SystemAndroid 14.0
Screen Size6.7 INCH
Resolution1440 x 3168 PX
Viewport412 x 906 PX
Pixel Density510 PPI
Device Pixel Ratio3.5 XXXHDPI
Refresh Rate120Hz LTPO AMOLED
ProcessorSnapdragon 8 Gen 3
RAM12GB
Storage256GB
Battery5400 mAh
Water ResistanceIP65
Retail Price$799 – $899

CSS Media Query

@media (min-width: 412px) and (max-width: 412px)

Responsive design notes

Use the viewport for layout decisions, the native resolution for asset planning, and the DPR when understanding how CSS pixels map to physical pixels.

Use viewport for CSS

Focus on 412 x 906 PX when planning breakpoints and layout widths.

Use resolution for assets

The native 1440 x 3168 PX resolution helps guide image export sizes and display sharpness.

Use DPR for scaling

A DPR of 3.5 XXXHDPI means this screen maps multiple physical pixels to one CSS pixel.

Frequently Asked Questions

What is the screen resolution of the OnePlus 12?

The OnePlus 12 has a 1440 x 3168 PX screen resolution on a 6.7 INCH display, resulting in a pixel density of 510 PPI.

What is the CSS viewport size of the OnePlus 12?

The OnePlus 12 has a CSS viewport of 412 x 906 PX. This is the value returned by window.innerWidth and window.innerHeight in JavaScript, and the value that CSS media queries respond to.

What CSS media query should I use for the OnePlus 12?

To target the OnePlus 12 viewport, use: @media (max-width: 412px). For a mobile-first approach, this targets the device at and above its viewport width.

What is the pixel density (PPI) of the OnePlus 12?

The OnePlus 12 has a pixel density of 510 PPI, which corresponds to a device pixel ratio (DPR) of 3.5. This means CSS pixels are scaled up to produce crisp, high-resolution rendering on the physical display.