Web Development Articles

Page 623 of 801

Display the flex items with space between the lines in CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 242 Views

The CSS justify-content property with the space-between value distributes flex items evenly across the main axis, placing the first item at the start and the last item at the end, with equal space between all items. Syntax selector { display: flex; justify-content: space-between; } Example You can try to run the following code to implement the space-between value − .mycontainer { ...

Read More

Wrap the flex items with CSS

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 223 Views

The CSS flex-wrap property controls whether flex items are forced onto a single line or can wrap onto multiple lines within a flex container. By default, flex items try to fit on one line, but wrapping allows them to break onto new lines when there isn't enough space. Syntax selector { flex-wrap: value; } Possible Values ValueDescription nowrapDefault. Items are laid out in a single line wrapItems wrap onto multiple lines if needed wrap-reverseItems wrap onto multiple lines in reverse order Example: Basic Flex Wrap The ...

Read More

CSS nav-left property

George John
George John
Updated on 15-Mar-2026 242 Views

The CSS nav-left property defines which element to focus on when the user presses the left arrow key on their keyboard or remote control. This property is primarily designed for TV browsers and devices where navigation is done using directional keys rather than a mouse. Syntax selector { nav-left: target-element; } Possible Values ValueDescription #idID of the element to navigate to when left key is pressed autoBrowser determines the next element automatically Example The following example creates a navigation system where pressing the left arrow key ...

Read More

Set the flex items horizontally from right to left with CSS

Samual Sam
Samual Sam
Updated on 15-Mar-2026 253 Views

Use the flex-direction property with row-reverse value to set the flex items horizontally from right to left. This property reverses the order of flex items while maintaining horizontal alignment. Syntax selector { display: flex; flex-direction: row-reverse; } Example You can try to run the following code to implement the row-reverse value − .mycontainer { display: flex; ...

Read More

Usage of CSS grid-auto-rows property

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 106 Views

The CSS grid-auto-rows property sets the default height for grid rows that are created automatically (implicitly) when grid items don't fit in the explicitly defined rows. This property is essential for controlling the sizing of rows in CSS Grid layouts. Syntax selector { grid-auto-rows: value; } Possible Values ValueDescription lengthFixed size in px, em, rem, etc. %Percentage of the grid container's height min-contentMinimum size needed to fit content max-contentMaximum size needed for content autoSize based on content (default) frFraction of available space Example: Fixed Row Height ...

Read More

Usage of CSS grid-row-start property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 69 Views

The CSS grid-row-start property specifies on which row line a grid item will start. This property allows you to control the exact row position where a grid item begins, giving you precise control over grid layout positioning. Syntax selector { grid-row-start: value; } Possible Values ValueDescription autoDefault value. The item will be placed automatically line-numberSpecifies which row line to start at (1, 2, 3, etc.) line-nameSpecifies a named grid line to start at span nSpecifies how many rows the item will span Example: Basic Grid Row Start ...

Read More

Set the flex items vertically from bottom to top with CSS

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 831 Views

Use the flex-direction property with column-reverse value to set the flex items vertically from bottom to top. This reverses the normal column direction, making items stack from the bottom upward. Syntax .container { display: flex; flex-direction: column-reverse; } Example The following example demonstrates how to arrange flex items vertically from bottom to top using column-reverse − .mycontainer { display: flex; ...

Read More

Set whether the text should be overridden to support multiple languages with CSS

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 149 Views

The CSS unicode-bidi property controls how bidirectional text is handled in HTML elements. This property is essential when working with documents that contain text in multiple languages with different writing directions, such as mixing English (left-to-right) with Arabic or Hebrew (right-to-left). Syntax selector { unicode-bidi: value; } Possible Values ValueDescription normalDefault value. Does not use additional embedding level bidi-overrideCreates an additional level of embedding and overrides the inherent directionality isolateIsolates the element from its surroundings for bidirectional text algorithm embedCreates an additional level of embedding Example: Bidirectional ...

Read More

CSS unicode-bidi Property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 104 Views

The CSS unicode-bidi property controls the bidirectional text algorithm, determining how text with mixed left-to-right and right-to-left content should be displayed. This property is essential when working with multilingual content that includes languages like Arabic, Hebrew, or Persian alongside Latin-based languages. Syntax selector { unicode-bidi: value; } Possible Values ValueDescription normalDefault behavior, follows Unicode bidirectional algorithm embedCreates an additional level of embedding bidi-overrideForces text direction override based on direction property isolateIsolates element from surrounding text for bidirectional calculations isolate-overrideCombines isolate and bidi-override behaviors Example: Comparing Different Unicode-bidi ...

Read More

Set the width of a tab character with CSS

Ankith Reddy
Ankith Reddy
Updated on 15-Mar-2026 237 Views

Use the tab-size property in CSS to set the width of a tab character. This property determines how many spaces a tab character should take up when displaying text content inside elements or other elements with preserved whitespace. Syntax selector { tab-size: value; } Possible Values Value Description number ...

Read More
Showing 6221–6230 of 8,010 articles
« Prev 1 621 622 623 624 625 801 Next »
Advertisements