<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.wikijournal.org/w-wiki/index.php?action=history&amp;feed=atom&amp;title=Encyclopedia_CSS%3A_display</id>
	<title>Encyclopedia CSS: display - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.wikijournal.org/w-wiki/index.php?action=history&amp;feed=atom&amp;title=Encyclopedia_CSS%3A_display"/>
	<link rel="alternate" type="text/html" href="https://en.wikijournal.org/w-wiki/index.php?title=Encyclopedia_CSS:_display&amp;action=history"/>
	<updated>2026-04-27T13:14:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://en.wikijournal.org/w-wiki/index.php?title=Encyclopedia_CSS:_display&amp;diff=1524&amp;oldid=prev</id>
		<title>Philip at 08:08, 23 January 2025</title>
		<link rel="alternate" type="text/html" href="https://en.wikijournal.org/w-wiki/index.php?title=Encyclopedia_CSS:_display&amp;diff=1524&amp;oldid=prev"/>
		<updated>2025-01-23T08:08:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Programming&lt;br /&gt;
|name = CSS: display&lt;br /&gt;
|image = Css.png&lt;br /&gt;
|image size = 300&lt;br /&gt;
|portal = [[Portal:CSS|CSS Portal]] • [[Portal:Web Developers|Web Developers Portal]]&lt;br /&gt;
}}&lt;br /&gt;
Understanding the CSS property &amp;lt;code&amp;gt;display&amp;lt;/code&amp;gt; can be challenging due to its numerous possible values, each influencing the behavior and rendering of an element. This property determines how an element behaves in the document: whether it is block-level, inline, flexible, grid-based, or entirely invisible.&lt;br /&gt;
&lt;br /&gt;
=== List of Available Values for the display Property ===&lt;br /&gt;
Here is a list of available values for the &amp;lt;code&amp;gt;display&amp;lt;/code&amp;gt; property:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:-webkit-box|display: -webkit-box]]&amp;lt;/code&amp;gt; — an outdated value for creating block layouts in Webkit-based browsers.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:-webkit-inline-box|display: -webkit-inline-box]]&amp;lt;/code&amp;gt; — similar to &amp;lt;code&amp;gt;-webkit-box&amp;lt;/code&amp;gt; but for inline layouts in Webkit-based browsers.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:block|display: block]]&amp;lt;/code&amp;gt; — makes the element block-level, occupying the full width of its parent.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:contents|display: contents]]&amp;lt;/code&amp;gt; — the element itself disappears, but its child elements remain in the DOM.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:flex|display: flex]]&amp;lt;/code&amp;gt; — makes the element a flexible layout container (flexbox).&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:flow|display: flow]]&amp;lt;/code&amp;gt; — sets the default flow behavior (standard value for most elements).&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:flow-root|display: flow-root]]&amp;lt;/code&amp;gt; — creates a new block formatting context as if the element was a block container.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:grid|display: grid]]&amp;lt;/code&amp;gt; — makes the element a grid layout container.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:inherit|display: inherit]]&amp;lt;/code&amp;gt; — inherits the &amp;lt;code&amp;gt;display&amp;lt;/code&amp;gt; property value from the parent element.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:initial|display: initial]]&amp;lt;/code&amp;gt; — resets the &amp;lt;code&amp;gt;display&amp;lt;/code&amp;gt; property to its initial value.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:inline|display: inline]]&amp;lt;/code&amp;gt; — makes the element inline-level, occupying only the necessary width.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:inline-block|display: inline-block]]&amp;lt;/code&amp;gt; — combines inline and block behavior (can have dimensions but remains inline).&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:inline-flex|display: inline-flex]]&amp;lt;/code&amp;gt; — makes the element an inline-level flexible container.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:inline-grid|display: inline-grid]]&amp;lt;/code&amp;gt; — makes the element an inline-level grid container.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:inline-masonry|display: inline-masonry]]&amp;lt;/code&amp;gt; — experimental value for inline masonry-style layouts.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:inline-table|display: inline-table]]&amp;lt;/code&amp;gt; — makes the element behave like an inline-level table.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:list-item|display: list-item]]&amp;lt;/code&amp;gt; — makes the element a list item with a marker (like &amp;lt;code&amp;gt;&amp;amp;lt;li&amp;amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:masonry|display: masonry]]&amp;lt;/code&amp;gt; — experimental value for dynamic masonry-style grid layouts.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:math|display: math]]&amp;lt;/code&amp;gt; — experimental value for mathematical markup.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:none|display: none]]&amp;lt;/code&amp;gt; — hides the element from view and removes it from the document flow.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:revert|display: revert]]&amp;lt;/code&amp;gt; — resets the &amp;lt;code&amp;gt;display&amp;lt;/code&amp;gt; property to the browser&amp;#039;s default styles.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:revert-layer|display: revert-layer]]&amp;lt;/code&amp;gt; — experimental value for reverting styles in specific layers.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:ruby|display: ruby]]&amp;lt;/code&amp;gt; — makes the element a container for ruby annotations (used in languages requiring furigana).&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:ruby-text|display: ruby-text]]&amp;lt;/code&amp;gt; — makes the element behave as ruby text (furigana).&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table|display: table]]&amp;lt;/code&amp;gt; — makes the element behave as a block-level table.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table-caption|display: table-caption]]&amp;lt;/code&amp;gt; — makes the element behave as a table caption.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table-cell|display: table-cell]]&amp;lt;/code&amp;gt; — makes the element behave as a table cell.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table-column|display: table-column]]&amp;lt;/code&amp;gt; — makes the element behave as a table column.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table-column-group|display: table-column-group]]&amp;lt;/code&amp;gt; — makes the element behave as a group of table columns.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table-footer-group|display: table-footer-group]]&amp;lt;/code&amp;gt; — makes the element behave as a table footer group.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table-header-group|display: table-header-group]]&amp;lt;/code&amp;gt; — makes the element behave as a table header group.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table-row|display: table-row]]&amp;lt;/code&amp;gt; — makes the element behave as a table row.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:table-row-group|display: table-row-group]]&amp;lt;/code&amp;gt; — makes the element behave as a group of table rows.&lt;br /&gt;
* &amp;lt;code&amp;gt;[[CSS:display:unset|display: unset]]&amp;lt;/code&amp;gt; — removes the set value and returns the property to its initial or inherited state.&lt;br /&gt;
&lt;br /&gt;
Each of these values serves a specific purpose, enabling flexible control over web page layout. However, due to the vast variety of options, choosing the right value can be tricky, and incorrect usage may lead to unexpected results.&lt;br /&gt;
&lt;br /&gt;
In separate articles, we will explore each value of the &amp;lt;code&amp;gt;display&amp;lt;/code&amp;gt; property in detail, learn how and when to use them, and examine their browser compatibility.&lt;br /&gt;
&lt;br /&gt;
== Other Articles on CSS ==&lt;br /&gt;
{{Encyclopedia CSS/Navigation}}&lt;br /&gt;
{{Navigation/CSS|state=collapsed}}&lt;br /&gt;
[[wj-ru:Энциклопедия CSS: display]]&lt;br /&gt;
[[wj-de:Enzyklopädie CSS: display]]&lt;br /&gt;
[[wj-es:Enciclopedia CSS: display]]&lt;br /&gt;
[[wj-it:Enciclopedia CSS: display]]&lt;br /&gt;
[[wj-fr:Encyclopédie CSS: display]]&lt;br /&gt;
&lt;br /&gt;
[[Category:CSS]]&lt;/div&gt;</summary>
		<author><name>Philip</name></author>
	</entry>
</feed>