iMac Retina 4K 21.5″

iMac Retina 4K 21.5″ is a desktop powered by macOS OS and released by Apple on Tuesday, August 4, 2020.

Download Blisk application to test the cross-browser compatibility and responsive design on iMac Retina 4K 21.5″. This desktop is ready to use standalone or simultaneously with lots of other popular devices.

iMac Retina 4K 21.5″
Viewport Size:
2048px × 1152px
Screen Size:
2048px × 1152px
Device Pixel Ratio:
DPR 2

Table of contents:

Overview and Dimensions

iMac Retina 4K 21.5″ was released by Apple on Tuesday, August 4, 2020 and is powered by macOS OS. By default, the device is shipped with a web browser — Safari. Device dimensions are 528×450×175 millimeters (20.8×17.7×6.9 inches)1. The device weighs 5440 g.

iMac Retina 4K 21.5″ has a Retina 4K Display display with a 21.5-inch screen (2298 cm2, 16:9 aspect ratio), and an approximately 68.5% screen-to-body ratio. The display is a touch screen, meaning that it supports touch events - interactions using a finger or stylus.

1 - Property is displayed as width × height × thickness.

Screen size, Viewport & Pixel Ratio

iMac Retina 4K 21.5″ has a 21.5-inch screen with a screen size (resolution): 2048px × 1152px , 2048px × 1152px viewport1, and a CSS Pixel Ratio of 2.

1 - Property is displayed as width × height.

Screen size (resolution) is the number of physical pixels present on a screen.

Viewport or Viewport size is the number of software pixels (CSS pixels) present on a screen. Usually, viewport size displays as viewport width in pixels to viewport height in pixels.

Device Pixel Ratio (DPR) or CSS Pixel Ratio is the ratio between the physical pixels (screen size or resolution) and CSS pixels (viewport). Depending on device specification, one CSS pixel can equal one or mode physical pixels. Modern devices have screens with high pixel density resulting in the difference between screen size (resolution) and viewport.

Summary:
Screen Size (Resolution) = Viewport size × Device Pixel Ratio.
Viewport size = Screen Size (Resolution) / Device Pixel Ratio.
CSS Pixel Ratio = Screen Size (Resolution) / Viewport size.

Key points for development and testing

Before you start web development or testing, check that the web application supports a responsive viewport by using a viewport meta tag:

You can inspect this tag in the head section of an HTML document on iMac Retina 4K 21.5″ right in the Blisk app. If this viewport tag is missing, the web application will not be responsive and will overflow the screen, hiding the content from users and leading to a bad user experience.

The form factor of the device represents its primary orientation as a portrait. Landscape orientation is popular on iMac Retina 4K 21.5″ as well and should be seriously considered when you develop or test web applications on any mobile.

You also need to consider that desktops are usually manipulated with a mouse, keyboard, and touchpad. To develop a high-quality web application, the developer should keep in mind the way the application responds to the actions of a user on hovers, clicks, drag and drop, focus events, etc. It has become a good practice to use mobile-like behaviors on desktops (e.g. swipe event on a slider). The majority of modern touchpads allow using multi-gestures on laptops and desktops.

CSS Media Query

Use the CSS Media Queries below to apply custom CSS properties for iMac Retina 4K 21.5″ and devices with the same screens:

iMac Retina 4K 21.5″ Media Query for min-width:

iMac Retina 4K 21.5″ Media Query for min-height:

iMac Retina 4K 21.5″ Media Query for landscape orientation:

iMac Retina 4K 21.5″ Media Query for portrait orientation:

iMac Retina 4K 21.5″ Media Query with device pixel ratio:

Launch device in Blisk application

iMac Retina 4K 21.5″ is ready to use in the Blisk app, where you can develop web applications and test cross-browser compatibility, use this phone as a standalone device or simultaneously with other devices. Getting started with Blisk...

  1. Download the latest version.
  2. Launch the Developer Mode from the Toolbar (screenshot below).
  3. Click Device Manager (screenshot below).
  4. Select iMac Retina 4K 21.5″ from the list.
  5. Click Launch Devices.

Launch device from Command prompt or Terminal

You can launch iMac Retina 4K 21.5″ in the Blisk app from Command prompt (Windows) or Terminal (macOS or Linux) to develop web applications and test cross-browser compatibility on a standalone device or simultaneously with other devices. Learn more...

  1. Download the latest version.
  2. Launch the Developer Mode from the Toolbar.
  3. Click Menu: Device Set ➜ Share Set.
  4. Select Command and click Next.
  5. Copy the generated command.
  6. Launch Command prompt or Terminal, paste the command, and execute it.

Specification (Summary)

Release DateTuesday, August 4, 2020
VendorApple
Device Typedesktop
Operating SystemmacOS
DisplayRetina 4K Display, 2298 cm2, 16:9, ~68.5% screen-to-body ratio
Screen Size (Resolution) Width2048px
Screen Size (Resolution) Height1152px
Viewport Width2048px
Viewport Height1152px
CSS Pixel Ratio2
Display Size21.5-inch
Pixels Per Inch219 PPI
Dimensions (mm)528 mm × 450 mm × 175 mm
Dimensions (inch)20.8 inch × 17.7 inch × 6.9 inch
Device Weight5440 g
iMac Retina 4K 21.5″

iMac Retina 4K 21.5″

is ready to use for
web development, testing, marketing, SEO needs

App for Windows, macOS, Linux

With Blisk app, you can:
  • Develop responsive web applications for mobiles, tablets, and desktops
  • Test cross-browser compatibility for mobiles, tablets, and desktops
  • Test touch events, simulate medium or slow Internet connection
  • Debug and measure performance with Developer Tools