CodePen?? ??? ??:
?? ?? ?? ??? ?? ??? ???? ??????. ?? ??? ??? ??? ???? ????? ??? ???? ??? ????. ?? ??? ??? ??? ?????.
???? ?? ???? ?? ?? ??? ???????.
??? ?? ??? ?? ??? ??? DEV.to? ??? ?????.
??? ?? ??? ?? ?? ??? ??? ?? ???
?????, DEV ???? ???! ?
?? CSS ???? ???? ??? ???? ????? ?? ??? ?? ?? ??? ??? ??? ???? ???? ????. ? ?? Bento ???? ???? ??? ?? ??? ?????? ??? ?? ??? ??? ??? ??? ??? ?? ?? ??? ??? ???? ?? ?? ???? ??? ??????. ??? ??? ???(????? ???? ?? ?????!) ? ???? ?? ??? ??? ?? ?????.
??????! ?
?? ?? ??
@property
@property at-rule? ???? ?? ???? ?? ??? ???? ??? ?? ??? ??????. ??? ????? ????.
@property --grid-cols { syntax: "<integer>"; inherits: false; initial-value: 12; } @property --grid-rows { syntax: "<integer>"; inherits: false; initial-value: 12; } @property --col-span { syntax: "<integer>"; inherits: false; initial-value: 2; } @property --row-span { syntax: "<integer>"; inherits: false; initial-value: 2; }
??? ??? ???? CSS ?? JavaScript? ?? ???? ???? ??? ????? ???? ??? ? ????. ?? ?? ??? ???? ??? ??? ??? ? ????.
.grid { display: grid; grid-template-columns: repeat(var(--grid-cols), 1fr); grid-template-rows: repeat(var(--grid-rows), 1fr); gap: var(--grid-gap); }
????? ?? ??
? ??? ???? ???? ??? ???? ???? ??? ??? ? ?? ??? ??? ??? ??? ????. ??? ??? ???? ??? ????.
.grid-element .drag-handle { position: absolute; right: 0; bottom: 0; width: 20px; height: 20px; background: skyblue; border-radius: 50%; cursor: nwse-resize; }
?? ?? ??? JavaScript? ???? ??? ??? ??? ??? ????. ??? ?? ?? ?? ??? ?? ??? ??????.
dragHandle.addEventListener('mousedown', (event) => { const startX = event.clientX; const startY = event.clientY; document.addEventListener('mousemove', onMouseMove); document.addEventListener('mouseup', onMouseUp); function onMouseMove(e) { const deltaX = e.clientX - startX; const deltaY = e.clientY - startY; // Calculate new spans based on the grid dimensions const colSpan = Math.max(1, Math.round(deltaX / gridCellWidth)); const rowSpan = Math.max(1, Math.round(deltaY / gridCellHeight)); gridElement.style.gridColumnEnd = `span ${colSpan}`; gridElement.style.gridRowEnd = `span ${rowSpan}`; } function onMouseUp() { document.removeEventListener('mousemove', onMouseMove); document.removeEventListener('mouseup', onMouseUp); } });
? ?? ? ? ??
??? ?? ?? --col-span ? --row-span? ? ??? ??? ?? ??? ?????. ?? ??? ??? ????.
.grid-element { grid-column: span var(--col-span); grid-row: span var(--row-span); }
? ?? ??? ???? ??? ??? ????? ????? ???? ??? ???? ????? ??? ??? ? ????.
?? ???????!
? ??
? ????? ???? ?? ????? ??? ?? ??? JavaScript? ??? ?? CSS? ??? ??? ?????. @property ? CSS ??? ??? ???? ??? ?? ? ?? ??? ??? ??? ???? ?? ??? ??????.
?? ???? ???? ??? ????? ???? ?? ?? ??? ? ??? ????? ??? ??? ???? ?? ?????.
???? ?? ??? ??? ??? ?? ???? ??? ???? ?? ?? ?? ??? ??????.
? ??
??? ? ????? ??? CSS ??? ?? ??? ??? ? ?? ??? ?????.
- MDN: @property
- MDN: CSS ??? ????
- MDN: ????? ???
- MDN: ?? ???
- MDN: ?? ??: CSS?? ?? ?? ??? ??????.
- MDN: ??? ??: ??? ??? ?? ??? ???? ?? CSS? ?????.
- MDN: ???? ??: ???? ?? ???? ??? ???? ????? ?????.
- MDN: currentColor ???: ???? ??? ?? ?? CSS ???? ?? ??? ??? ?????.
- MDN: -web-kit-Line ???: ?? ??? ???? ?? ? ?? ?????.
- MDN: ?? ?? - Allow-Discrete: ?? ?? ?? ?? ??? ????? ?????.
?? ??? ?? ????? ????? ?? ????! ??? ???? ??? ?????. ??? ???? ?? ???? ????? ??? ??? ???. ?
??? ?????! ??
? ??? ??? ?? ?? ? ?? ?? ??? ??? ??? ?? ??? ????(@properties)? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

AutoPrefixer? ?? ???? ??? ???? ?? ?? ???? CSS ??? ???? ???? ?????. 1. ????? ???? ???? ???? ??? ?????. 2. PostCSS ???? ??, CSS? ?? ???? ???? ?? ???? ??? ???? ??? ?? ??? ?????. 3. ?? ???? ???? ??, ??????? ?? ? ?? ???????? ????? ?? ?????. 4. ???? ???? ???? ???? ?? ?? ????, ???? ?? ??? ?? ???? ???? ????? ?? ???? ?? ????.

ToTeCreatesTickyHeaders andfooterswithcss, ?? ?? : stickyforheaderswithTopvalueAndz-index

CSS?? ????? ??? ? ?? ??? ????. 1. HTML ? CSS? ?? ??? ?????? ???? ?? ???? ?? ???? ??????. 2. ?? ??? ??? ?? ???? ???? ?? ?? ??? ?? ?? ??? ??????. 3. ??? ????? ???? JavaScript? ?? ???? ?????? ??? ?????. ? ?? ??? ??? ??? ????? ?? ??, ??, ??? ? ?? ???? ?? ?? ?? ??? ???? ?????.

Mobile-FirstcsSdesignRequiresTtingTheviewPortMetatag, RelativeUnits, StylingFromsMallScreensup, ??? ???? andtouchtargets.first, addtocontrolscaling.second, ??%, em, orreminsteadofpixelsforflexelayouts.third

?? ?? ? ??? ????? ????? ?? ??? CSSGrid? ?? (Auto-Fit, Minmax ()) ??? ???? ????. 1. ???-???-?? ?? : ?? (?? ??, minmax (200px, 1fr)) ????? ?? ?? ???? ???? ? ?? ?? ? ?? ??? ????????. 2. ??? ???? ??? ??? ??????. 3. ????? ?? ?? ?? ??? ??????? 100%, ?? ?? : ?? ?? ??? ??? ???? ??? ?????? Border-Box? ???????. 4. ????? ?? ?? ??? ???? ????? ?? ? ??? ??? ??? ?????.

???? ?? ??? ????? ???? ???? ?? ???? ?? ? ? ????. 1. ?? : 0auto ?? ?? ???? ???? ?? ????? ??? ?? ??? ????? ????? ???????. 2. Flexbox? ???? ?? ?????? ??? ? ?? ?? ??? ???? ??? : 100VH? ???? ?? ? ?? ???? ???? ?? ?? ????? ????? ?????. 3. CSSGRID? ?? ?? ??? ???? ?? ????? ??? ???? ???? ?? ????? ?????? ??? ?? ????? ??? ???? ???????. ? ???? ?? ??? ???? ? ?? ??? ???? ?? ??? ?? ??? ???? ??????.

feacturedetectionincssusing@supportschecksifabrowsersupportseaspecificfeaturebeforplyplyplatedstyles.1.itusesconditionalcssblocksbasedonproperty-valuepair, sublics@supports (display : grid)

CSS ???? ??? ? ??? ??? ????? ???? ??? ???? ???? ?? ?? ???? ????? ???????. 1. Flexbox ? ??? ??? ?? ???? ??? ??, ?? : ??? ?? ? ????? ??? ????. 2. Caniuse ?? ?? ?? ??? ??????. 3. -webkit-, -moz-, -ms-, -o- ? ?? ???? ???? ???? ?????. 4. AutoPrefixer? ???? ???? ???? ???? ?? ????. 5. ?? ????? ????? PostCSS? ???? BrowsersList? ??????. 6. ?? ? ???? ???? ?????. 7. Modernizr ?? ??? ??? ????? ??? ? ????. 8. ?? ????? ???? ?? ? ??? ????.
