?? ??? ??? ?????? ??? ?????. ?? ???? ??? ????? ?? ? ??? ??? ?? ? ??? ?? ? ? ?? ?? ??? ??? ?????.
Astro? ??? ?? ??? ??? ??? ?? ? ??? ??? ?????. Astro Actions? ?? ? ??? ?? ?? ?? ? ?? ???? ???? ??? ?? ??? ??????. ???? ?? ???? ?? ??? ???? ????? ??? ?? ?? ???, SAAS ??? ?? ?? ??? ???? ?? ?? ? ? ??? ?????.
Astro? ??? ?? ?? ?? ??? ????? ?? ? ?? (? : Fuse.js)? ?? ??? ?????. ? ??? fuse.js? ???? ?? ?? ?? ? ??? ??? ???? ?? ??? ?? ??? ?????.
Github ??? ??
???? ??
?? Astro ???? ?? :
NPM Astro@???? ????
????? ????? :
- ???? ?? : (???? ????, ?? ??,
./astro-search
) - ???? ??? : ?? ?????? ???
- ??? ?? : ?
- GIT ??? ??? : ??
???? ????? ???? npm run dev
??????. ?? Astro ????? ?????.
?? ??
?? ???? ??? ( /src/pages/index.astro
)? ??????. ?? ?? CSS ?? :
NPX Astro Add Tailwind
CLI ??? ?? Tailwind? ??????. /src/pages/index.astro
? ?? ?? ?? ??????.
--- // ./src/pages/index.astro '../layouts/layout.astro'?? ???? ?? ??; --- <layout> <div> <h1>? ?? ???</h1> <p>??? ??? ??? ??? ?? ?? 10 ????.</p> </div> </layout>
??? ??? ??
??? ??? ??? (?? ?? ??? GitHub ???? 110 ? ??? ?? ??)? ??????. ??? ???? ???? /src/data/bookmarks.json
? ????. (?? ???? ?? ??? ??????).
?? Astro? ??? ??? API? ??????. /src/content.config.ts
??? :
"Astro : Content"?? {definecollection, z} ?? ??; 'Astro/Loaders'?? {file} ?? ??; const ??? = ?? ?? ({{ ??? : Z.Object ({ pagetitle : z.string (), URL : z.string (), ?? : z.string (). ?? () }), ?? : ?? ( "src/data/bookmarks.json"), }); ???? const ??? = {???};
??? ?? ?????? ( npm run dev
).
??? ??
/src/pages/index.astro
? bookmarks
???? ???? ??????.
--- '../layouts/layout.astro'?? ???? ?? ??; 'Astro : Content'?? {getCollection} ?? ??; const ??? = getCollection ( '???'); --- <layout> <div> <h1>? ?? ???</h1> <p>??? {bookmarks.length} ??????</p> <h2>?? ???</h2> <ul> {Bookmarks.slice (0, 10) .map ((??) => ( <li> <a href="http://www.miracleart.cn/link/881ad08b23bec80777fe4bce8bee4e0a"> </a>{item.ataa..pagetitle} <p>{item..description}</p> </li> ))} </ul> </div> </layout>
?? ??? ???? ?????.
?? ? JavaScript? ?? ??
? ?? ?? /src/components/Search.astro
? ???? :
Astro ?? ??
Netlify ?? ?? :
NPX Astro? NetLify? ?????
?? ??? ?? /src/actions/index.js
??????.
// ... (Fuse.js? ???? ?? ????? ?? ?? ??) ...
?? ??
?? ?? ??? JavaScript? ?????? actions.search
??? ?????? (?? ??? ????? Fuse.js? ?? ??? ?????? ?? ??).
??
? ??? ???? Astro Actions ? Fuse.js? ???? ?? ??? ???? ? ???? ???? ??? ? ??? ?????. ?? ? ??? ?? ???? ?? ? ?? ??? ???????. ?? ?????? ??? ?? ?? ? Astro Islands ??? React? ?? ?? ????? ? ??? ??? ???? ?? ??? ? ????.
? ??? Astro Actions ? Fuse.js? ??? ?????? ?? ?????. ??? ??? 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)

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

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

themaindifferencesbetweendisplay : ???, ??, andinline-blockinhtml/cssarelayoutbehavior, spaceusage ? stylingcontrol.1.inlineElementsFlowWithText, do n'tStartonnewlines, ingorewidth/height, andonlyapplyhorizontalpadding/margins —IdealforIneTeTexting

??? ?? ???? ???? ??? ??, ?? ??? ??? ? ? ????? ??? ??? ???? ???? ? ? ?? ? ? ????. 1. CSS ?? : ?? ??? ???? ???? ?? ??; 2. ????? ?? ?? ?? ???? ?? ?? ??? ??? ? ????. 3. ?? ??? ??? ??? ??? ?? ?? ???? ????????. 4. ??? ????? ??? ???? ?? ? ??? ??? ?? ??? ?? ?? ??? ????? ???? ?? ????.

CSS? ?? ?? ??? ??? ??? ???? ???? SVG? ???? ?? ???, ?? ????, ??? ?? ?? ??? ?? ???? ??????. ??? ??? ????. 1. ?, ??, ??? ?? ?? ??? ?? ??? ?????. 2. ?? ?? ? ??? ???? ??? ? ????. 3. ?????? ?? ?? ?? ?? ????? ???? ?? ??? ?? ? ? ????. 4. ???? ???? ??? ??? ??? ????? ?? ? ??? ????. ???? ???? ?? ?? ?? : ? (50pxatcenter) ? ??? ?? ?? : ??? (50%0%, 100 0%, 0%)? ?? ????. ????

CSS? ???? ?? ? ???? ???? ??? ?? ??? ?? ?? ?? ? ? ????. 1. Max width : 100% ? ?? : Auto? ???? ???? ??? ????? ???? ??? ??? ? ??????. 2. HTML? SRCSET ? ?? ??? ???? ?? ??? ??? ??? ??? ???????????. 3. ?? ?? ? ?? ??? ???? ??? ??? ? ?? ?????? ??????. ? ??? ?? ???? ?? ???? ???? ???? ????????.

CSS ??? ??? ?? ?? ?? ? ?? ? ?? ??? ?? ????. 1.px? ?? ??? ????? ?? ??? ??? ?? ??? ?????. 2.EM? ?? ????, ?? ?? ??? ??? ?? ?? ???? ??, REM? ?? ??? ???? ? ????? ??? ????? ?????. 3.VW/VH? ?? ? ???? ??? ??? ??? ??????? ?? ???? ?????? ???????. 4. ??? ?? ?? ? ??, ?? ?? ?? ? ??? ???? ???? ???????. ???? ??? ???? ??? ? ?? ??? ???? ? ????.

?? ????? CSS ?? ??? ????? ?? ?? ??? ??, ?? ?? ?? ??, Flexbox ? ??? ???? ?? ?? ? ?? CSS ??? ????? ??? ???? ???? ?? ????? ??? ?????. 1. ?? ??? ??? ???? ????. ???? CSSRESET ?? NALLER.CSS? ???? ?? ???? ???? ????. 2. IE? ?? ??? ?? ?? ?? ??? ????. ?? ?? : ?? ? ???? ??? ??? ???? ?? ????. 3. Flexbox ? Grid? Edge Case ?? Old ???? ??? ?????. ? ?? ??? ? AutopRefixer ??; 4. ?? CSS ?? ??? ???? ????. Caniuse? ???? ?? ?????????.
