? ?? ?? ????? ??? ??? ????. Parcel? ????? ??? ???? ?? ?? ???? ??? ? ?? ???? ?????. ???? ?? ??? ???? ?? ??? ?? Parcel? ???? ?? ?????. ? ??? ?? ?? ??? ??? ?? ?? ??? ??? ?? ?? ?? ?? ?? ?? ??? ???? ????? ????.
??? ?? ??? ??? ??? ????.
- ?? ?? ??? ?? ???? ?? ??.
- HTML, CSS ? JavaScript? ??? ??? ?? ??? ?? ??? ?? ??.
- ??? ??? ?? ????? ?? ????? ? ?? ?? (HMR).
- ?? ???? ?? ???? ??? ??? ?????.
- ?? ? ?? ??? ?????? ?? ?? ??.
- ???? ??? ???? ? ?? ????? ??? ? ?? ??.
? ????? Parcel? ???? React ????? ???? ??? ?? ?? React ?? ????? ??? ?????. ??? ?????? ?? ???? ?????.
???? ??
- ???? ???? ??? :
mkdir csstricks-react-parcel && cd $ _
-
package.json
??? : NPM ?? ?? ?? :
# npm npm init -y # ?? (? ?????? ??) ?? init -y
- ??? ?? : ?? ? ??? ??? ??????.
??? ?? ?? ??-???-?? ??-?? ??-???-??? ????? ?? ?? React React-Dom
- babel ?? : ?? ????
.babelrc
??? ????.
{ "?? ??": [ "Env", "React"] }
-
index.js
??? (? ?? ??) :
'React'?? React React; 'React-Dom'?? Reactdom ?? ??; ??? ?? ?? rect.component { ?? () { ?? ( <react.fragment><h2>?????!</h2></react.fragment> ); } } const rootElement = document.getElementById ( "root"); REACTDOM.RENDER (<app></app> , rootlement);
-
index.html
??? (src
????) :
<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>?? ?? ?</title> <div id="root"></div>
- configure
package.json
(?? ????) :
"????": { "??": "node_env = ?? ?? src/index.html -Open" }
- ?? ???? ?? : ?????
yarn start
??????. ?? ??????http://localhost:1234/
?? ???????.
Sass?? ????
???? Postcs? ?????. SASS? ????? ??? ???? ??????.
?? ADD-DEV NODE-SASS AUTOPREFIXER
package.json
? postcss
??? ?????? (??? ??) :
"postcss": { "??": ??, "????": { "AutoPrefixer": { "????": [ "> 1%", "??? 4 ??", "Firefox ESR", "IE <h3> ?? ??</h3><p> ???? ??? ?? <code>package.json</code> ??????.</p><pre class="brush:php;toolbar:false"> "????": { "??": "node_env = ?? ?? src/index.html -open", "??": "node_env = ???? ?? ?? dist/ index.html--public-url ./" }
yarn build
???? dist
???? ???? ?? ??? ????. --out-dir
, --no-minify
? --no-cache
? ?? ??? ?? ??? ??? ?????.
??? (React App Parcel ???)
CRAP (React App Parcel) ?? ???? ??? ??????.
npx create-react-app-parcel my-app CD My-App ?? ??
??
Parcel? ?? ???? ??? ? ?? ??? ?? React ????? ??? ???????. ???? ?? (30,000 Github ??)? ???? ??? ?? ??????.
??
- ?? ?
- ?? ??
? ????? ?? ??? GitHub ??? (?? ? ??).
? ??? Parcel ?? RECT ?? ??????? ??? ?????? ?? ?????. ??? ??? 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? ??? ??? ????? ????? ??? ? ?? CSS? ????? ?? ??????, ?? ?? ? ??? ??, ??? ?? ?? ??? CSS ? ????? ?? ??? ?? ???? ???? ??? ??? ???. 1. ?? CSS? ???? HTML? ?? ?????. 2. JavaScript? ?? ??? CSS ??; 3. ??? ??? ???? ?? ???? ????? ??????. 4. CSS? ???? ???? ??? ????. ?? CSS? ???? ?? ??? ???? Rel = "Preload"?????? ????, ??? ?? ??? ????? ???? ??? ?? ? ??? ???? ??? ?????.

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

theconic-gradient () functionincsscreatescurcular gradientsthattroTecolorstopsaroundacentral point

ToTeCreatesTickyHeaders andfooterswithcss, ?? ?? : stickyforheaderswithTopvalueAndz-index

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

thefrunitincssgriddistributesaveailablespaceproproproproproproprically.1.itworksbydividingspacebasedonthesumoffrvalues, ?? ??, 1fr2frgives-thirdandtwo-thirds.2.itenablesflexiblelayouts, propehmanualcalculations, andsupportsronspons responsevestessinconsponsponsevestesnevestesnevesteStonsponsevesteSponsevesteSponsevesteStronsponsevesteStonsprongesteSports responsevesteStonSpronsponseves.

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

?, CSSGRID ???? FlexBox? ??? ? ????. ???? ???? ?? ???? ??? ??? ??? ?? ???? ??? ????? ??? ?? ?????? ??? ?? ? ??? ???? ????. ?? ??, ?????? ?? div? ?? : HTML? Flex ???; ?? ???? ???? ?? ? ????, ?? ?? ? ??? ??? ??? ?? ?? ??? ?????. ????? ??? ?? ?? ???? ??? ??? ??? ??? ??? ?? ????? ??? ??? ?????.
