TL
Tool Lab
💰Donate
💰Donate

CSS Properties Reference

Comprehensive CSS property reference — flexbox, grid, typography, animation, and more.

52 प्रॉपर्टी

displayलेआउट

Defines how element is rendered in the document.

block | inline | flex | grid | inline-flex | inline-grid | none | contents
positionलेआउट

Specifies positioning method.

static | relative | absolute | fixed | sticky
top / right / bottom / leftलेआउट

Offset for positioned elements.

<length> | <percentage> | auto
floatलेआउट

Moves element to left/right of container.

left | right | none | inline-start | inline-end
clearलेआउट

Specifies what happens with the element next to a floated element.

none | left | right | both | inline-start | inline-end
z-indexलेआउट

Sets stacking order of elements.

auto | <integer>
overflowलेआउट

Controls content that overflows element box.

visible | hidden | scroll | auto | clip
width / heightबॉक्स मॉडल

Sets element dimensions.

<length> | <percentage> | auto | min-content | max-content | fit-content
max-width / max-heightबॉक्स मॉडल

Sets maximum element dimensions.

<length> | <percentage> | none | min-content | max-content
min-width / min-heightबॉक्स मॉडल

Sets minimum element dimensions.

<length> | <percentage> | auto | min-content | max-content
marginबॉक्स मॉडल

Space outside the element border.

<length> | <percentage> | auto (shorthand: top right bottom left)
paddingबॉक्स मॉडल

Space between content and border.

<length> | <percentage> (shorthand: top right bottom left)
borderबॉक्स मॉडल

Shorthand for border-width, border-style, border-color.

<border-width> || <border-style> || <color>
border-radiusबॉक्स मॉडल

Rounds corners of element border box.

<length> | <percentage> (1-4 values for corners)
box-sizingबॉक्स मॉडल

How width/height is calculated.

content-box | border-box
box-shadowबॉक्स मॉडल

Adds shadow effects around element frame.

<offset-x> <offset-y> <blur> <spread> <color> | inset | none
flex-directionFlexbox

Sets main axis of flex container.

row | row-reverse | column | column-reverse
flex-wrapFlexbox

Whether flex items wrap onto multiple lines.

nowrap | wrap | wrap-reverse
justify-contentFlexbox

Alignment along main axis.

flex-start | flex-end | center | space-between | space-around | space-evenly
align-itemsFlexbox

Default alignment along cross axis.

stretch | flex-start | flex-end | center | baseline
align-contentFlexbox

Multi-line flex container alignment.

flex-start | flex-end | center | space-between | space-around | stretch
flexFlexbox

Shorthand for flex-grow, flex-shrink, flex-basis.

none | auto | <flex-grow> <flex-shrink> <flex-basis>
gapFlexbox

Space between flex/grid items.

<length> | <percentage> (row-gap column-gap)
grid-template-columnsGrid

Defines columns of the grid.

none | <track-size> | repeat() | minmax() | auto-fill | auto-fit
grid-template-rowsGrid

Defines rows of the grid.

none | <track-size> | repeat() | minmax()
grid-columnGrid

Shorthand for grid-column-start and grid-column-end.

<line> / <line> | span <number>
grid-rowGrid

Shorthand for grid-row-start and grid-row-end.

<line> / <line> | span <number>
grid-areaGrid

Named grid area or row/column shorthand.

<name> | <row-start> / <col-start> / <row-end> / <col-end>
font-sizeटाइपोग्राफी

Size of the font.

<length> | <percentage> | xx-small...xx-large | smaller | larger
font-familyटाइपोग्राफी

Prioritized list of font family names.

<family-name> | <generic-family> (comma-separated list)
font-weightटाइपोग्राफी

Weight/boldness of the font.

normal | bold | bolder | lighter | 100–900
font-styleटाइपोग्राफी

Italic or oblique font.

normal | italic | oblique
line-heightटाइपोग्राफी

Height of a line box.

normal | <number> | <length> | <percentage>
text-alignटाइपोग्राफी

Horizontal alignment of text.

left | right | center | justify | start | end
text-decorationटाइपोग्राफी

Decorative lines on text.

none | underline | overline | line-through | blink
text-transformटाइपोग्राफी

Capitalization of text.

none | uppercase | lowercase | capitalize
letter-spacingटाइपोग्राफी

Space between characters.

normal | <length>
word-spacingटाइपोग्राफी

Space between words.

normal | <length>
colorविज़ुअल

Foreground color of text and text decorations.

<color> (name, hex, rgb(), hsl(), oklch())
backgroundविज़ुअल

Shorthand for all background properties.

<color> | <image> | <position> / <size> <repeat> <attachment>
background-colorविज़ुअल

Background color of element.

<color> | transparent
opacityविज़ुअल

Transparency of element (0–1).

<number> (0 = transparent, 1 = opaque)
visibilityविज़ुअल

Shows or hides element without changing layout.

visible | hidden | collapse
transitionएनिमेशन

Shorthand for transition properties.

<property> <duration> <easing> <delay>
animationएनिमेशन

Shorthand for animation properties.

<name> <duration> <easing> <delay> <iteration> <direction> <fill-mode>
transformएनिमेशन

Applies 2D/3D transforms.

none | translate() rotate() scale() skew() matrix()
will-changeएनिमेशन

Hints browser about expected changes for optimization.

auto | scroll-position | contents | transform | opacity
cursorUI

Type of mouse cursor.

auto | default | pointer | text | move | grab | not-allowed | crosshair | ...
pointer-eventsUI

Controls when element can be target of pointer events.

auto | none | all | fill | stroke | painted
user-selectUI

Controls if text can be selected.

auto | none | text | all | contain
outlineUI

Outline drawn around element outside border.

<outline-width> || <outline-style> || <color> | none
resizeUI

Whether/how user can resize element.

none | both | horizontal | vertical

इस टूल के बारे में

यह रेफरेंस आठ श्रेणियों में सबसे अधिक उपयोग की जाने वाली CSS प्रॉपर्टी को कवर करता है: लेआउट, बॉक्स मॉडल, Flexbox, Grid, टाइपोग्राफी, विज़ुअल, एनिमेशन और UI इंटरैक्शन।

प्रॉपर्टी नाम, विवरण या स्वीकृत मानों द्वारा फ़िल्टर करने के लिए खोज बॉक्स का उपयोग करें।

कैसे उपयोग करें

  1. सूची फ़िल्टर करने के लिए खोज बॉक्स में प्रॉपर्टी नाम या कीवर्ड टाइप करें।
  2. केवल वह समूह दिखाने के लिए ड्रॉपडाउन से श्रेणी चुनें।
  3. प्रत्येक पंक्ति में प्रॉपर्टी नाम, श्रेणी टैग, विवरण और स्वीकृत मान दिखाए जाते हैं।

उपयोग के मामले

फ्रंट-एंड डेवलपर्स विकास के दौरान प्रॉपर्टी नाम और वैध मान देखते हैं।

अक्सर पूछे जाने वाले प्रश्न

  • क्या सभी CSS प्रॉपर्टी शामिल हैं?नहीं। यह रेफरेंस केवल सबसे अधिक उपयोग की जाने वाली प्रॉपर्टी को कवर करता है।
  • क्या वेंडर-प्रीफिक्स्ड प्रॉपर्टी सूचीबद्ध हैं?नहीं। केवल बिना प्रीफिक्स के स्टैंडर्ड प्रॉपर्टी सूचीबद्ध हैं।