-
Notifications
You must be signed in to change notification settings - Fork 22.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* My First Site, Added Glossary Site and fixed the link to device_pixel instead of device_pixels, Fixes #2682 * Applied the Feedback * copy edit Co-authored-by: Chris Mills <cmills@mozilla.com>
- Loading branch information
1 parent
b68cd44
commit 0d4eedf
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>A "pixel" is a single physical "light bulb" on a display that is capable of displaying a full color independent of its neighbours. Computer screens displaying their content in pixels. This physical pixel is also called a "device pixel".</p> | ||
|
||
<p>In contrast to the device pixel the {{Glossary("CSS pixel","CSS pixel")}} is a unit of length which roughly corresponds to the width or height of a single dot. The CSS pixel is defined as the physical size of a single pixel at a pixel density of 96 DPI, located an arm's length away from the viewer's eyes. A CSS pixel is therefore equivalent to many device pixels.</p> | ||
|
||
<h2 id="Learn_more">Learn more</h2> | ||
|
||
<ul> | ||
<li><a href="https://en.wikipedia.org/wiki/Pixel">Pixels Wikipedia entry</a></li> | ||
<li><a href="https://hacks.mozilla.org/2013/09/css-length-explained/">CSS Length Explained</a> on the MDN Hacks Blog</a></li> | ||
</ul> |