Vana Bharathi Raja
Vana Bharathi Raja

Reputation: 30

Actual mobile resolution vs css resolution

I'm developing a mobile app using HTML5 and CSS3 using responsive design. Its quite difficult to find css resolution of mobile.

I'm using Samsugn galaxy Note2. my actual resolution is 1280 X 720. but css resolution is 640 X 360.

How can we calculate css resolution from actual resolution? and what is concept behind this?

Thanks in advance.

Upvotes: 0

Views: 64

Answers (1)

Jnatalzia
Jnatalzia

Reputation: 1687

You can test for a certain aspect ratio using media queries, however you shouldn't be designing for specific devices or aspect ratios. Responsive design works best when you design for breakpoints as it relates to your content. This way, there's less to worry about, and your content almost always looks better on every device

Upvotes: 1

Related Questions