亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

??
? ?? gulpile??? ?
?? ??!
?? / ??
? ? ????? CSS ???? gulpile ? ?????

gulpile ? ?????

Apr 13, 2025 am 10:00 AM

gulpile ? ?????

? ???? ?? ?? ? Gulp Processing? ?? ??? ?? ??????. ? Watch ??? ???? ?? CSS? ????? ??? ??? ?? ?? ???? ? ??? ?? ?? ?? ??? ? ????. ??? ?? ???? ???? ?? ?? ??? ??? ??? (?? ???… ??? ??? ???? ?????).

? ??? ?? ??? ???? ?? ?? ?? ????. ?? 3.x ?? Gulp 4.x? ???? ?? ??? ??????? ?? Gulp.series ???? ??? ???? ??? ? ???? ??????.

Gulp 4.x ? ?? ?? ???? ??? ???????. ? ??? Gulp 4? CLI ??? 2.x? ????? ?? Gulp 3? ?? ??? ? 3.x ??? ????? ????. ????? ?? ??? ?? ???? ?????, ????? ?? 10 ? ??? ??? ??? ? ???? Cli 3.x? ??? ????? ??? ???? ???? ?? ? ????.

?? Savvier Command-Line ???? ??? ? ?? ??? ?? ? ? ??? ?????, ???? ?? -v gulp? Gulp? ??? ?? ?? ??? ????/usr/local/share/npm/bin/gulp? ??? ???? ??? ???? ?? ???? 2.x? ?? ??????.

Gulp 4.x? ??? ? ???? Gulpfile.js? ? ?? ???? ?? ???? ?? ??? ???? ????. ??? ????? ????? ? ??? ?? ?? ??? ???? ????? ??? ????? ????. ?? ?? ???? ?? ??? ?? ??? ?? ? ???? ?? ?????? ????.

? ?? gulpile??? ?

  • ??? ?? ? ?? ??? ?? ? ?? (BrowserSync)? ?????.
  • ??? ???? ??? ??? ???? ?? ??? ???? ?? ?? ??? (Native Gulp ??)? ?????.
  • CSS ??
    • sass> autoprefixer> ??
    • ????? ??? ?? ??? ???? (? :
    • Style.css? WordPress ??? ??? ??? ?? ?? ??? ??? ?? ??
  • ?? ???? ??
    • ??> ? ?????> ??
    • s? ???? ??? ??????
    • ??? ?? ? ???? ?? ??? ??????
  • SVG ??
    • SVG ????? ( s? ??? ?????
    • sprite.php ??? ??? ???? (???? php? ??? ? ??) ?? ???? ?????.
  • PHP ??
    • ??? ?? ? ? JavaScript? Ajax ??? ?? ???? ????????.

?? ??!

 const gulp = ?? ( "gulp"),
  browsersync = require ( "browser-sync"). create (),
  sass = require ( "gulp-sass"),
  postcss = require ( "gulp-postcss"),
  autopRefixer = require ( "autopRefixer"),
  cssnano = require ( "cssnano"),
  del = require ( "del"),
  babel = require ( "gulp-babel"),
  minify = require ( "gulp-minify"),
  concat = require ( "gulp-concat"),
  Rename = ?? ?? ( "Gulp-Rename"),
  replace = require ( "gulp-replace"),
  svgsymbols = require ( "gulp-svg-symbols"),
  svgmin = ?? ?? ( "gulp-svgmin");

const paths = {
  ??? : {
    src : [ "./scss/*.scss", "./art-direction/*.scss"],
    DEST : "./css/"
  },
  ???? : {
    src : [ "./js/*.js", "./js/libs/* js", "! ./ js/min/*. js"],
    DEST : "./js/min"
  },
  SVG : {
    SRC : "./icons/* .svg"
  },
  PHP : {
    src : [ "./*.php", "./ads/*.php", "./art-direction/* .php", "./parts/**/*.php"]
  },
  ?? : {
    SRC : "./ads/* .php"
  }
};

/ * ??? */
?? dostyles (??) {
  gulp.series (???, movemainstyle, deleteoldmainstyle, done => {
    CACHEBUST ( "./ header.php", "./");
    ??();
  })(??);
}

?? ??? () {
  Gulp? ?????
    .Src (paths.styles.src)
    .pipe (sass ())
    .on ( "??", sass.logerror)
    .pipe (postcss ([autoprefixer (), cssnano ()]))
    .pipe (gulp.dest (paths.styles.dest))
    .pipe (browsersync.stream ());
}

?? movemainstyle () {
  gulp.src ( "./ css/style.css"). ??? (gulp.dest ( "./"));
}

?? deleteoldMainStyle () {
  return del ( "./ css/style.css");
}
/ * ? ??? */

/ * ???? */
?? doscripts (??) {
  gulp.series ?? (
    ?? ??,
    concatjs,
    Minifyjs,
    deleteartifactjs,
    ????,
    ?? => {
      CACHEBUST ( "./ parts/footer-scripts.php", "./parts/");
      ??();
    }
  )(??);
}

?? preprocessjs () {
  Gulp? ?????
    .src (paths.scripts.src)
    .???(
      ??({
        ?? ?? : [ "@babel/env"],
        ???? : [ "@babel/plugin-proposal class-class-class-class-properties"]
      })
    ))
    .pipe (gulp.dest ( "./ js/babel/"));
}

?? concatjs () {
  Gulp? ?????
    .Src ([
      "JS/libs/jquery.lazy.js",
      "JS/libs/jquery.fitvids.js",
      "JS/libs/jQuery.resizable.js",
      "JS/Libs/Prism.js",
      "JS/Babel/Highlighting-Fixes.js",
      "JS/Babel/Global.js"
    ])))
    .pipe (concat ( "global-concat.js"))
    .pipe (gulp.dest ( "./ js/concat/"));
}

?? minifyjs () {
  Gulp? ?????
    .src ([ "./ js/babel/*. js", "./js/concat/* .js"]))))
    .???(
      ?? ??({
        ?? : {
          SRC : ".js",
          ? : ".min.js"
        }
      })
    ))
    .pipe (gulp.dest (paths.scripts.dest));
}

?? deleteartifactjs () {
  return del ([
    "./js/babel",
    "./js/concat",
    "./js/min/*.js",
    "! ./ js/min/*. min.js"
  ]);
}
/ * ?? ???? */

/ * svg */
?? dosvg () {
  Gulp? ?????
    .SRC (Paths.svg.src)
    .pipe (svgmin ())
    .???(
      svgsymbols ({
        ??? : [ "Default-SVG"],
        svgattrs : {
          ?? : 0,
          ?? : 0,
          ????? : "??"
        }
      })
    ))
    .pipe (?? ??? ( "???/?????/??? .php"))
    .pipe (gulp.dest ( "./"));
}
/ * ?? svg */

/ * ???? ? */
?? ?? ??? (SRC, DEST) {
  var cbstring = new date (). gettime ();
  Gulp? ?????
    .SRC (SRC)
    .???(
      ?? ( /cache_bust = \ d /g, function () {
        "CACHE_BUST ="CBSTRING? ?????.
      })
    ))
    .pipe (gulp.dest (dest));
}

?? Reload (??) {
  Browsersync.reload ();
  ??();
}

?? Watch () {
  browsersync.init ({
    ??? : "csstricks.local"
  });
  gulp.watch (paths.styles.src, dostyles);
  gulp.watch (paths.scripts.src, doscripts);
  gulp.watch (paths.svg.src, dosvg);
  gulp.watch (paths.php.src, Reload);
  gulp.watch (paths.ads.src, done => {
    CACHEBUST ( "./ js/global.js", "./js/");
    ??();
  });
}

gulp.task ( "??", ??);

?? / ??

  • ??? ??? ??? ????? ?? ???? ???? ????. CSS? ???? ?? ???? ??? ?? ??? ??? ??? ????.
  • ??? PHP??? SVG ???? ??? ???? ?????? ??? ()? ?????.
  • ?? SVG? ??? ?? ??? ??? SVG ????? ?????.
  • Gulp ??? ?? ?????? ????? ?? ?? ?? ??? ?? ? ?? ????? ??? ? ?? ???? ?????
  • gulpfile.js ???? Gulp? ?? ????????
  • ?? ??? ?? Libs? ES6 ????? ???? ???? ?? ??? ??? ? ??? ?? ????.

?? ? ??? ?? ?? ? ????. ?????, ??? ??? ??? ?? ??? ?????. ?? ?? ??? ???? ?????.

? ??? gulpile ? ?????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? ????? ??
? ?? ??? ????? ???? ??? ??????, ???? ?????? ????. ? ???? ?? ???? ?? ??? ?? ????. ???? ??? ???? ???? ??? ?? admin@php.cn?? ?????.

? AI ??

Undresser.AI Undress

Undresser.AI Undress

???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover

AI Clothes Remover

???? ?? ???? ??? AI ?????.

Video Face Swap

Video Face Swap

??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

???

??? ??

???++7.3.1

???++7.3.1

???? ?? ?? ?? ???

SublimeText3 ??? ??

SublimeText3 ??? ??

??? ??, ???? ?? ????.

???? 13.0.1 ???

???? 13.0.1 ???

??? PHP ?? ?? ??

???? CS6

???? CS6

??? ? ?? ??

SublimeText3 Mac ??

SublimeText3 Mac ??

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

???

??? ??

??? ????
1597
29
PHP ????
1488
72
NYT ?? ??? ??
131
836
???
?? ??? ? ????? ????? CSS ???? ?? ??? ? ????? ????? CSS ???? Jul 07, 2025 am 12:07 AM

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

CSS ???? ??? ?? ? ??? ?? CSS ???? ??? ?? ? ??? ?? Jul 07, 2025 am 01:44 AM

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

?????? ???? ????? : ???, ????? : ?? ? ????? : ??? ??? ?????? ???? ????? : ???, ????? : ?? ? ????? : ??? ??? Jul 11, 2025 am 03:25 AM

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

????? CSS? ??? ??? ?????? ????? CSS? ??? ??? ?????? Jul 11, 2025 am 03:26 AM

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

CSS ?? ??? ??? ?? ??? ???? CSS ?? ??? ??? ?? ??? ???? Jul 09, 2025 am 01:29 AM

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

CSS Painting API? ?????? CSS Painting API? ?????? Jul 04, 2025 am 02:16 AM

thecspaintingapienablesDynamicAmageGenerationIncsSusingjavaScript.1.DevelopersCreateApaIntWorkletClasswitHapaint () ??? () ???

CSS? ???? ?? ? ???? ??? ??? CSS? ???? ?? ? ???? ??? ??? Jul 15, 2025 am 01:10 AM

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

???? CSS ???? ???? ?????? ???? CSS ???? ???? ?????? Jul 26, 2025 am 07:04 AM

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

See all articles