GO-V.ORG
As seen in

Z-Order

Z-order is an ordering of overlapping two-dimensional objects, such as windows in a stacking window manager, shapes in a vector graphics editor, or objects in a 3D application.[src] One of the features of a typical GUI is that windows may overlap, so that one window hides part or all of another.[src] When two windows overlap, their Z-order determines which one appears on top of the other.[src]

Z-order is an ordering of overlapping two-dimensional objects, such as windows in a stacking window manager, shapes in a vector graphics editor, or objects in a 3D application.[src] One of the features of a typical GUI is that windows may overlap, so that one window hides part or all of another.[src] When two windows overlap, their Z-order determines which one appears on top of the other.[src] ==Definition== The term "Z-order" refers to the order of objects along the Z-axis.[src] In coordinate geometry, X typically refers to the horizontal axis (left to right), Y to the vertical axis (up and down), and Z refers to the axis perpendicular to the other two (forward or backward).[src] One can think of the windows in a GUI as a series of planes parallel to the surface of the monitor.[src] The windows are therefore stacked along the Z-axis, and the Z-order information thus specifies the front-to-back ordering of the windows on the screen.[src] An analogy would be some sheets of paper scattered on top of a table, each sheet being a window, the table your computer screen, and the top sheet having the highest Z value.[src] ==Use== Typically, users of a GUI can affect the Z-order by selecting a window to be brought to the foreground (that is, "above" or "in front of" all the other windows).[src] Some window managers allow interaction with windows while they are not in the foreground, while others will bring a window to the front whenever it receives input from the user.[src] It is also possible for special windows to be designated "always on top"; these are then fixed to the top of the Z-order so that (with few exceptions) no other window can overlap them.[src] When dealing with visual objects on a computer screen, an object with a Z-order of 1 would be visually "underneath" an object with a Z-order of 2 or greater.[src] This is the same as making "layers" of objects where the Z-order determines what object is on top of another.[src] An HTML page can use CSS to specify the Z-order so that some objects can be layered over others.[src] Z-ordering is also used in 3D applications to determine object visibility based on overlap from other objects.[src] This confers a speed advantage to the user as the computer does not need to render unseen objects.[src] In practice, of course, some objects may be only partially obscured, and this is a complication that must be taken into account.[src] In early real-time 3D graphics, Z-order was applied on a per-polygon basis to avoid using Z-buffer, which was considered expensive at the time.[src] In modern 3D graphics, Z-order is used for order-dependent rendering, for example with semi-transparent objects.[src] It can also be used to reduce the problem of Z-fighting, by either rendering farther objects first and then using weak inequality as the depth test or, conversely, rendering front-to-back and using strict inequality.[src] == Z-index== The actual number assigned to a particular place in the Z-order is sometimes known as the z-index.[1] In particular the CSS property that sets the stack order of specific elements is known as the z-index.[1] An element with greater stack order is always in front of another element with lower stack order.[src] Negative values can also be used in the same manner.[src] A negative value will appear behind a positive one.[src] z-index only works on elements that have a position value (e.g.[src] position: relative; ) and for many coders, this is one of the first things to investigate when debugging why the z-index isn't working.[src] Like all other CSS properties, it can be set with JavaScript, with the following syntax: object.style.zIndex = 1; ==See also== Z-buffer ==References==[src]

31 sentences · 31 cited inline · 1 references stored

References

  1. Z-Order · retrieved 2026-11-23 · rev 1374318774
    Cite this reference

    MLA "Z-Order." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1374318774. Accessed 04 December 2026.

    Chicago "Z-Order." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1374318774.

    APA encyclopegia.org. (2026). Z-Order. Retrieved December 4, 2026, from https://en.wikipedia.org/w/index.php?oldid=1374318774

Cite this article

MLA

"Z-Order." encyclopegia.org, 2026, https://encyclopegia.org/wiki/z-order. Accessed 04 December 2026.

Chicago

"Z-Order." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/z-order.

APA

encyclopegia.org. (2026). Z-Order. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/z-order

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
definitionan ordering of overlapping two-dimensional objects, such as windows in a stacking window manager, shapes in a vector graphics editor, or objects in a 3D application.article body

Related articles

Order of the British Empire

stub · references available

Order of Railroad Telegraphers

stub · references available

Corinthian order

stub · references available

Order of African Redemption

stub · references available

Order of the Golden Spur

stub · references available

National Order of the Cedar

stub · references available

Honorary Order of the Yellow Star

stub · references available

Order of the Oak Crown

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1374318774 · 0.55 · snapshot z-order-016353-8e3bad281ab06984 · QID Q135778

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.