Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Glossary Page Fixes #2682 #2695

Merged
merged 4 commits into from
Mar 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/en-us/glossary/css_pixel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<p>That definition, of course, leaves a lot of wiggle room, as the terms "be comfortably seen" and "an arm's length away" are imprecise, varying from person to person. When a user is sitting at a desk in front of a desktop, the display is generally substantially farther away from their eyes than when they're on a cell phone, for instance.</p>

<p>As such, it generally suffices to say that when the unit <code>px</code> is used, the goal is to try to have the distance <code>96px</code> equal about 1 inch on the screen, regardless of the actual pixel density of the screen. In other words, if the user is on a phone with a pixel density of 266 DPI, and an element is placed on the screen with a width of <code>96px</code>, the actual width of the element would be 266 {{Glossary("device pixels")}}.</p>
<p>As such, it generally suffices to say that when the unit <code>px</code> is used, the goal is to try to have the distance <code>96px</code> equal about 1 inch on the screen, regardless of the actual pixel density of the screen. In other words, if the user is on a phone with a pixel density of 266 DPI, and an element is placed on the screen with a width of <code>96px</code>, the actual width of the element would be 266 {{Glossary("device pixel")}}.</p>

<h2 id="Learn_more">Learn more</h2>

Expand Down
25 changes: 25 additions & 0 deletions files/en-us/glossary/device_pixel/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: device pixel
slug: Glossary/device_pixel
tags:
- physical pixel
- device pixel
- Glossary
- height
- length
- pixel
- size
- unit
- width
---

<p>The single physical "light bulb" on the display which is capable of displaying the full color independent of its neighbour is called a pixel(picture element).</p>
<p>Computer Screens does display content on the screen in pixels. This physical pixel is also called "device pixel".</p>

<h2 id="Learn_more">Learn more</h2>

<h3 id="Learn_about_it">Learn about it</h3>

<ul>
<li><a href="https://en.wikipedia.org/wiki/Pixel">Pixels Wikipedia entry</a></li>
</ul>