Front End Technology Articles

Page 526 of 652

Create a disabled look of a button with CSS

Nitya Raut
Nitya Raut
Updated on 15-Mar-2026 457 Views

To create a disabled button look in CSS, you can use the opacity property to make the button appear faded and less interactive. This visual effect helps users understand that the button is not functional. Syntax selector { opacity: value; } Example: Basic Disabled Button Look You can try to run the following code to create a disabled look of a button − .btn1 { background-color: #4CAF50; ...

Read More

Create a Vertical Button Group with CSS

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 1K+ Views

The vertical button group in CSS allows you to stack buttons one below the other, creating a clean and organized navigation or action menu. This layout is useful for sidebars, navigation panels, or any interface where you need buttons arranged vertically. Syntax .button-group .button { display: block; width: 100%; } Example The following example creates a vertical button group with styled buttons ? .mybtn .button { background-color: orange; ...

Read More

Set the color of the rule between columns with CSS

Vrundesha Joshi
Vrundesha Joshi
Updated on 15-Mar-2026 200 Views

The CSS column-rule-color property sets the color of the rule (line) that appears between columns in a multi-column layout. This property is used in conjunction with column-rule-style to create visible separators between columns. Syntax selector { column-rule-color: color; } Possible Values ValueDescription colorAny valid CSS color value (hex, rgb, rgba, named colors, etc.) initialSets the property to its default value inheritInherits the color from the parent element Example: Orange Dashed Column Rule The following example creates a 4-column layout with orange dashed rules between columns − ...

Read More

Shorthand property for setting all the column-rule-* properties

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

The CSS column-rule property is a shorthand property for setting all the column rule properties in one declaration. It allows you to define the width, style, and color of the line that appears between columns in a multi-column layout. Syntax selector { column-rule: width style color; } Possible Values PropertyValuesDescription column-rule-widththin, medium, thick, lengthSets the width of the column rule column-rule-stylenone, solid, dashed, dotted, double, etc.Sets the style of the column rule column-rule-colorcolor name, hex, rgb, rgbaSets the color of the column rule Example The following ...

Read More

How to fill columns with CSS

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

The CSS column-fill property controls how content is distributed across multiple columns when using CSS multi-column layout. This property determines whether columns should be balanced in height or filled sequentially. Syntax selector { column-fill: value; } Possible Values ValueDescription balanceContent is distributed evenly across all columns (default) autoColumns are filled sequentially, one after another balance-allBalance content across all columns including the last fragment Example: Balanced Column Fill The following example demonstrates the balance value, which distributes content evenly across columns − ...

Read More

How to specify the number of columns an element should be divided into with CSS

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

The CSS column-count property is used to specify the number of columns an element should be divided into. This property enables you to create newspaper-style multi-column layouts for text content. Syntax selector { column-count: value; } Possible Values ValueDescription autoDefault value. Number of columns determined by other properties numberPositive integer specifying the number of columns Example: Creating 4 Columns The following example demonstrates how to divide text content into 4 columns − .demo { ...

Read More

Center pagination on a web page with CSS

Daniol Thomas
Daniol Thomas
Updated on 15-Mar-2026 882 Views

Centering pagination on a web page involves creating a horizontal pagination bar and aligning it to the center of its container. This is commonly achieved using the text-align: center property on the parent container and display: inline-block on the pagination element. Syntax .pagination-container { text-align: center; } .pagination { display: inline-block; } Example The following example demonstrates how to create a centered pagination bar with styled navigation links − ...

Read More

CSS Grid Gaps

Arjun Thakur
Arjun Thakur
Updated on 15-Mar-2026 149 Views

The CSS Grid layout allows you to create gaps between rows and columns in a grid container. These gaps provide spacing between grid items, making your layout more visually appealing and easier to read. Column Gap Row Gap ...

Read More

CSS Grid Rows

Rishi Rathor
Rishi Rathor
Updated on 15-Mar-2026 156 Views

CSS Grid rows refer to the horizontal tracks in a CSS grid container. They define the horizontal space where grid items are placed and can be explicitly defined using the grid-template-rows property. Row ...

Read More

Change the size of the pagination with CSS

Krantik Chavan
Krantik Chavan
Updated on 15-Mar-2026 441 Views

To change the pagination size in CSS, you can use the font-size property to make pagination elements larger or smaller. This affects both the text size and the overall visual impact of your pagination buttons. Syntax .pagination a { font-size: value; } Example: Large Pagination Buttons The following example creates pagination with increased size using font-size: 18px − .demo { display: inline-block; } .demo ...

Read More
Showing 5251–5260 of 6,519 articles
« Prev 1 524 525 526 527 528 652 Next »
Advertisements