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 | contentspositionالتخطيطSpecifies positioning method.
static | relative | absolute | fixed | stickytop / right / bottom / leftالتخطيطOffset for positioned elements.
<length> | <percentage> | autofloatالتخطيطMoves element to left/right of container.
left | right | none | inline-start | inline-endclearالتخطيطSpecifies what happens with the element next to a floated element.
none | left | right | both | inline-start | inline-endz-indexالتخطيطSets stacking order of elements.
auto | <integer>overflowالتخطيطControls content that overflows element box.
visible | hidden | scroll | auto | clipwidth / heightنموذج الصندوقSets element dimensions.
<length> | <percentage> | auto | min-content | max-content | fit-contentmax-width / max-heightنموذج الصندوقSets maximum element dimensions.
<length> | <percentage> | none | min-content | max-contentmin-width / min-heightنموذج الصندوقSets minimum element dimensions.
<length> | <percentage> | auto | min-content | max-contentmarginنموذج الصندوق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-boxbox-shadowنموذج الصندوقAdds shadow effects around element frame.
<offset-x> <offset-y> <blur> <spread> <color> | inset | noneflex-directionFlexboxSets main axis of flex container.
row | row-reverse | column | column-reverseflex-wrapFlexboxWhether flex items wrap onto multiple lines.
nowrap | wrap | wrap-reversejustify-contentFlexboxAlignment along main axis.
flex-start | flex-end | center | space-between | space-around | space-evenlyalign-itemsFlexboxDefault alignment along cross axis.
stretch | flex-start | flex-end | center | baselinealign-contentFlexboxMulti-line flex container alignment.
flex-start | flex-end | center | space-between | space-around | stretchflexFlexboxShorthand for flex-grow, flex-shrink, flex-basis.
none | auto | <flex-grow> <flex-shrink> <flex-basis>gapFlexboxSpace between flex/grid items.
<length> | <percentage> (row-gap column-gap)grid-template-columnsGridDefines columns of the grid.
none | <track-size> | repeat() | minmax() | auto-fill | auto-fitgrid-template-rowsGridDefines rows of the grid.
none | <track-size> | repeat() | minmax()grid-columnGridShorthand for grid-column-start and grid-column-end.
<line> / <line> | span <number>grid-rowGridShorthand for grid-row-start and grid-row-end.
<line> / <line> | span <number>grid-areaGridNamed 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 | largerfont-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–900font-styleالطباعةItalic or oblique font.
normal | italic | obliqueline-heightالطباعةHeight of a line box.
normal | <number> | <length> | <percentage>text-alignالطباعةHorizontal alignment of text.
left | right | center | justify | start | endtext-decorationالطباعةDecorative lines on text.
none | underline | overline | line-through | blinktext-transformالطباعةCapitalization of text.
none | uppercase | lowercase | capitalizeletter-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> | transparentopacityمرئيTransparency of element (0–1).
<number> (0 = transparent, 1 = opaque)visibilityمرئيShows or hides element without changing layout.
visible | hidden | collapsetransitionالرسوم المتحركة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 | opacitycursorواجهة المستخدمType of mouse cursor.
auto | default | pointer | text | move | grab | not-allowed | crosshair | ...pointer-eventsواجهة المستخدمControls when element can be target of pointer events.
auto | none | all | fill | stroke | painteduser-selectواجهة المستخدمControls if text can be selected.
auto | none | text | all | containoutlineواجهة المستخدمOutline drawn around element outside border.
<outline-width> || <outline-style> || <color> | noneresizeواجهة المستخدمWhether/how user can resize element.
none | both | horizontal | verticalحول هذه الأداة
يغطي هذا المرجع أكثر خصائص CSS استخداماً في ثماني فئات: التخطيط، نموذج الصندوق، Flexbox، Grid، الطباعة، مرئي، الرسوم المتحركة، وتفاعل واجهة المستخدم.
استخدم مربع البحث للتصفية حسب اسم الخاصية أو الوصف أو القيم المقبولة.
كيفية الاستخدام
- اكتب اسم خاصية أو كلمة مفتاحية في مربع البحث لتصفية القائمة.
- حدد فئة من القائمة المنسدلة لإظهار تلك المجموعة فقط.
- تُظهر كل صف اسم الخاصية وعلامة الفئة والوصف والقيم المقبولة.
حالات الاستخدام
يستخدم مطورو الواجهة الأمامية هذا المرجع للبحث عن أسماء الخصائص والقيم الصالحة أثناء التطوير.
الأسئلة الشائعة
- هل تم تضمين جميع خصائص CSS؟ — لا. يغطي هذا المرجع فقط الخصائص الأكثر استخداماً.
- هل الخصائص ذات بادئات المورد مدرجة؟ — لا. يتم إدراج الخصائص القياسية فقط بدون بادئات.