IT. Expert System.

CSS

column-gap


Property Description

The column-gap property specifies the gap between the columns.

This property has the following syntax:

column-gap: length|normal|initial|inherit;

Property Values

Value Description
length Specifies the length of the gap between the columns
normal (default) Specifies that the column gap be set to 1em (browser dependent)
initial Specifies that the value of the property should be set to the default value
inherit Specifies that the value of the property should be inherited from the parent element

Examples

This example specifies that a div will have 2 columns with a gap between them of 25 pixels:

div
{
  column-count: 2;
  -webkit-column-count: 2; /* Safari and Google Chrome */
  -moz-column-count: 2; /* Firefox */
  
  column-gap: 25px;
  -webkit-column-gap: 25px; /* Safari and Google Chrome */
  -moz-column-gap: 25px; /* Firefox */
}

A div containing some sample text would then be formatted like this:

The Lonely Mountain is a towering solitary peak to the west of Largoneth Castle. It is quite tall, and its proud summit often lies shrouded in low-hanging clouds. However, in olden days, mariners had named it Signal Mountain, for its odd glistening white peak reflected the pale moonlight, providing an unmistakable landmark on unclouded nights.

Browser Support

Chrome Firefox IE Safari Opera
4.0 -webkit- 2.0 -moz- 10.0 3.1 -webkit- 11.1
15.0 -webkit-

Miscellaneous Information

Inherited: No
Defined In: CSS3
Default Value: normal


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 3053 / . Delta: 0.00565 с