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

??
? ????? API? ???? ????? ??????
??? ????? ??
HTML ??
???? ???
????? ??????
????
??
? ? ????? CSS ???? WAAPI? ???? ?? ?? ??? ??????? ??

WAAPI? ???? ?? ?? ??? ??????? ??

Apr 01, 2025 am 04:14 AM

? ????? API? ???? ????? ??????<details></details> ??? ????? ??

? ????? ?? ???? ????? ?? ?? ? ??? ???? ??? ?? ? ?? ?????. ????? JQuery? slideDown() ??? 2006 ? ? ???? ?? ??????.

? ??? ? ????? API? ???? ???? ??? ?????.<details></details> ????? ??.

HTML ??

??? ?????? ???? ? ??? HTML ?? ??? ?? ?????.

<details></details> ???? ??? ?????<summary></summary> ??.<summary></summary> ????? ? ?? ?? ?? ????.<details></details> ?? ?? ?? ??? ???? ??? ??? ?????. ????? ??? ??? ?????? ?? ??? ???? ??? ????.

???.
<details>
  <summary>???? ??</summary>
  <div class="content">
    <p>
      Lorem ipsum dolor sit amet, censertur apisicing elit. modi unde, ex rem voluptates autem aliquid veniam quis temporibus repudiandae illo, nostrum, pariatur que! Animi modi dignissimos?? voluptatum?? voluptatum??!
    </p>
  </div>
</details>

???? ???

??? ??? ?? ?? ???? ???? ???? ???????. ?? ??? ??? ?? ?? ??? ? ????<details></details> ???? new Accordion() ?? ??????.

 ??? ???? {
  ??? (el) {}
  onclick (e) {}
  ?? () {}
  ?? ??() {}
  ????() {}
  OnanimationFinish (Open) {}
}

constructor()

???? ? ????? ??? ???? ???? ? ?????.

 ??? (el) {
  this.el = el;
  this.summary = el.QuerySelector ( 'Summary');
  this.content = el.querySelector ( '. content');
  this.animation = null;
  this.isclosing = false;
  this.isexpanding = false;
  this.summary.addeventListener ( 'click', (e) => this.onclick (e));
}

onClick()

onClick() ???? ??? ??????? (?? ?? ??)?? ?????. ??? ??????? ?? ???? ????? ????? ??? ???????. ?? ??? ?? ??? ????? ??? ???? ??? ???? ????? ??? ????.<details></details> ??? ??? ????? open ??? ?????. ???? ??? ??? this.el.open ? ?? ?? ? ????.

 onclick (e) {
  e.preventDefault ();
  this.el.style.overflow = 'Hidden';
  if (this.isclosing ||! this.el.open) {
    this.open ();
  } else if (this.isexpanding || this.el.open) {
    this.shrink ();
  }
}

shrink()

? shrink() ??? waapi? .animate() ??? ?????. ??? ??? MDN ??? ?? ? ????. WAAPI? CSS @keyframes ? ?? ?????. ?????? ?? ? ? ? ???? ???????. ? ???? ? ?? ? ??? ? ?????. ? ??? ??? ?? ???? ? ??? ????? ?? ? ?????. ?? ??? startHeight ??? ?????. ??? ??? endHeight ??? ?????.<summary></summary> ?.

 ?? () {
  this.isclosing = true;
  const startheight =`$ {this.el.offsetheight} px`;
  const endheight =`$ {this.summary.offsetheight} px`;
  if (this.animation) {
    this.animation.cancel ();
  }
  this.animation = this.el.animate ({{
    ?? : [Startheight, Endheight]
  }, {
    ?? : 400,
    EASE : 'Ease-Out'
  });
  this.animation.onfinish = () => this.onAnimationFinish (false);
  this.animation.oncancel = () => this.isclosing = false;
}

open()

open() ??? ????? ????? ? ? ?????. ? ??? ?? ???? ?????? ???? ????. ??, ??? ?????<details></details> ??? ??? ??? ???? ???? ??? ?????. ?? ????, ??? open ??? ???? ???? ????? ??? ? ???, overflow: hidden ?? ??? ?????? ???? ??? ??? ????. ?? ?? ?? ???? expand() ??? ???? ??? ?? ?????? ????.

 ?? ??() {
  this.el.style.height =`$ {this.el.offsetheight} px`;
  this.el.open = true;
  window.requestanimationFrame (() => this.expand ());
}

expand()

expand() ??? shrink() ??? ????? ?? ???? ??? ????? ?????? ???? ?? ???? ? ????. ? ??? ?????<summary></summary> ??? ?? ???? ??.

 ????() {
  this.isexpanding = true;
  const startheight =`$ {this.el.offsetheight} px`;
  const endheight =`$ {this.summary.offsetheight this.content.offsetheight} px`;
  if (this.animation) {
    this.animation.cancel ();
  }
  this.animation = this.el.animate ({{
    ?? : [Startheight, Endheight]
  }, {
    ?? : 400,
    EASE : 'Ease-Out'
  });
  this.animation.onfinish = () => this.onAnimationFinish (true);
  this.animation.oncancel = () => this.isexpanding = false;
}

onAnimationFinish()

? ??? ?????? ?? ??? ?? ? ? ?????. ?????, ????? ?? ? true ? ??? ?? ??? open ?? ? ?? ?????? ???? ???? ??? open HTML ??? ??? ? ????.

 OnanimationFinish (Open) {
  this.el.open = ??;
  this.animation = null;
  this.isclosing = false;
  this.isexpanding = false;
  this.el.style.height = this.el.style.overflow = '';
}

????? ??????

??? ???? ???????!

?? ?? ? HTML? ?? ????<details></details> ??? ???? ???? ?????. ?? ?? ??? ?????<details></details> ??? querySelectorAll ? ? ??? ?? ? ???? ????? ????.

 document.querySelectorall ( 'details'). foreach ((el) => {
  ??? ???? (EL);
});

????

??? ??? ?? ??? ?????<summary></summary> ?? ??? ?? ??? ??? ????.

?? ??, ???? ????<summary></summary> ????? ???? ?? ??? ??? ? ???? ??? ??? ??????. ?? ???? ???????. ??? ???? ????? ?????? ? ? ?? ???? ??? ??????.

???? ????<summary></summary> ?? ? ???? ???? ???? ?? ??? ??? ??????. ?? ???? ?? ??? ???? ??? ??????.

??

??? ?? ??????? JavaScript? ???? ???? ???? ?????? ??????!

WAAPI? ???? ?? ?? ??? ??????? ??

??? ?? /uploads/20250331/174338369667e9ec90190a3.jpg ? ?? ??? ??? ???????. ??? ??? ?????? ?? ? ? ?????? ?? ?? ? ??? ? ????.

? ??? WAAPI? ???? ?? ?? ??? ??????? ??? ?? ?????. ??? ??? 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 ?? ??? ??
130
836
???
autopRefixer ? ???? ??? ?????? autopRefixer ? ???? ??? ?????? Jul 02, 2025 am 01:15 AM

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

?? ??? ?? ?? ?? ?? ??? CSS ???? ?? ??? ?? ?? ?? ?? ??? CSS ???? Jul 02, 2025 am 01:04 AM

ToTeCreatesTickyHeaders andfooterswithcss, ?? ?? : stickyforheaderswithTopvalueAndz-index

????? ?? ? ??? ????? ??? ??? ?????? ????? ?? ? ??? ????? ??? ??? ?????? Jul 02, 2025 am 01:19 AM

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

?? ??? ? ????? ????? CSS ???? ?? ??? ? ????? ????? CSS ???? Jul 07, 2025 am 12:07 AM

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

??? ?? ???? ??? ? CSS ???? ??? ?? ???? ??? ? CSS ???? Jul 02, 2025 am 12:52 AM

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

??? ??? ?? ???? ??? ???? ???? ??? ?????? ??? ??? ?? ???? ??? ???? ???? ??? ?????? Jul 02, 2025 am 12:53 AM

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

@supports? ???? CSS? ?? ?? ? ?????? @supports? ???? CSS? ?? ?? ? ?????? Jul 02, 2025 am 01:14 AM

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

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. ?? ????? ???? ?? ? ??? ????.

See all articles