vue.js? DOM? ?? ? ? ?? ?? ?? ??? ????? ????? ??, ?? ?? ???, ???? ?? ?? ?? ??? ?? ??? ??? ?????. ??? ??? ?? ?? ??? ?? ?? ?? ? ?? ?? ??? ???????.
??? ?? ?? ?? ???? ? v-if
???. ??? ??? ??? ?????. ???? ??? ?????. ??? ??? ??? ???? ??? ????? ?? ?? ??? ???? ??? ??? ?? ? ? ????.
<transition><div v-if="isVisible"> ?? ????</div></transition>
?? ??? Sarah Drasner, Nicolas Udy ? Hassan Djirdeh? ?? ?? ?? ??? ?? ?? ??? ?????. ? ??? VUE ?? ?? ??? ?? ??? ??? ?????. ? ??? ?? ?? ??? ? ??? ??? ? ????. "??"? ? ????.
<transition name="fade"><div v-if="isVisible"> ?? ????</div></transition>
? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ? CSS ???? ??? ???? ??????? ????. ????? ?? v-enter
?? fade-enter
???. ? ?? ???? ??? ???? ?? ? ?? ?? ??? ????. VUE ? CSS? ?? ??? ???? ???? ??? ?? ? ??? ? ????.
???? ? ? ?? ?? ?? ??? ??? ? ? ??? ????.
<transition :name="currentTransition"><div v-if="isVisible"> ?? ????</div></transition>
? ???? ??? ??? currentTransition
? ?? ?? ?? ? ??? ?????. ? ??? ??? ?????? ?????? ?? ? ?? ?? ? ?? ??? ?????. ?? ? ?? ?? ??? ???? ????? ?? ???? ??? ?? ? ??? ??? ?? ?? ??? ?? ? ???, ?? ??? ???? ?? ??? ????, ?? ???? ??? ?? ? ?? ??? ??? ??? ??? ? ???, ??? ?? ??? ???? ??? ?? ??? ??? ??? ????? ?? ? ? ????.
? ??? ??? ??? ???? ?? ??? ???? ?? ??????.
?? ??? ?? ? ? ???????
????? ?? ?? ??? ??? ? ?? ???? ?? ??? ??? ?????. ? ???? CSS?? ??? ? ????. CSS? ??? ??? ???? ??? ??? ??? ??? ????. ??? ??? ??? CSS? ?????.
.?, .V-leave-to { ???? : 0; } .V- ???, .V-leave-active { ?? : 0.5S; }
?? ?? ??? 0.5 ? ?? ???? ?????. ??? ??? ??? ????? ??? ??? ???? ?????. ??? ??? ???? ? ??? ????. ??? ??, ?? ??? ???? ??????
.fade-enter, .fade-leave-to { ???? : 0; } .Fade-Enter-Active, .fade-leave-active { ?? : 0.5S; }
????? ??? CS??? v-
?? ???? fade-
?????. ? ?? ??? ?? ?? ??? ?? ??? ??? ??? ? ??? ??? ??? ?????. v-
???? ??? ???? ???? ????. ?? ?? ???? ?? ???? CSS? ??? ??? ?? ? ? ?? ???? ? ??? ????. ????? ??? ?? ?? ????? ?? ???? * ?? * ??? ??? ?? ??? ???????. ??? ?? ????? ?? ??? ? ??? ? ?? ? ??? ?? ????? ?? ?? ? ?? ?????? ?? ??? ??? ???? ?? ???? ??? ? ????.
?? ?? ??? ????? ???? ??? ?? ?? ?? ?? ?? ??? ????? ????? ???? ??? ?? ?? ??? ?????. ????? ??? ????? ?? ?? ??? ???? ?? ????. ?? ????? ??? ?? ?? ? ???? ?? ??? ?? ??? ???? ? ?? ????. ?? ??? ?????? ?????? ??? ??? ????? ??? ??????.
??? ?? ??? ??????
?? ??? ????? ?? ??? ????? ?????. ???? ????? ???? ?? ??? ??? ?? ???? ??? ?? ? ????. ??? ?? ???? ? ?? ???? ??? ???? ??? ???? ?? ?? ??? ???? ??? ? ????. ? ?? ?? ?? ??? ??? ???? ??? ??? ?? ?? ??? ???? ????.
??? Application Root ????? ??? ??, ????? app.vue
??? ??? ??? ?? CSS? ???? ?? ??? ???. ???? ?????? ?? ? ??? ?? ???? ?? ??? ??? ??? ??? ?????. ? ??? CSS? ???? ?? ??? ?????? ??? ?? ?? ?? ??? ???? ? ??? ? ????. ??? ?? ????? ? ?? ????.
.fade-enter, .fade-leave-to {???? : 0; } .Fade-Enter-Active, .fade-leave-active {?? : 0.5s; } .slide-enter { ???? : 0; ?? : scale3d (2, 0.5, 1) translate3d (400px, 0, 0); } .slide-enter-to {transform : scale3d (1, 1, 1); } .slide-enter-active, .slide-leave-active {?? : 0.5S ??-? ?? (0.68, -0.55, 0.265, 1.55); } .slide-leave {transform : scale3d (1, 1, 1); } .slide-leave-to { ???? : 0; ?? : scale3d (2, 0.5, 1) translate3d (-400px, 0, 0); } .Rotate-enter {transform : perspective (500px) Rotate3d (0, 1, 0, 90deg); } .Rotate-enter-active, .Rotate-Leave-Active {?? : 0.5S; } .Rotate-leave-to {transform : perspective (500px) rotate3d (0, 1, 0, -90deg); }
???? ???? ??? ?? ??? ?? ???? ???? ? ?? ??? ????. ??? ????? ? ??? app.vue
??? ??? ??? ?? ?? ???? ????. ????? ?? ?? ? SASS ??? ????? ?? ??? ???? ?? ????? ??? ???? ??? ? ????.
@import "??/_transitions.scss";
? ??? ???? VUE ?? ???? ?? ???? ???? ?? ? ? ????. ? ??? ? ?? ??? ????? ?? ??? ???? ?????? ??? ??? ?? ??? ? ??? ????. ????? ??? ??? ??? ?? ???? ??? ???? ?? ?? ? ???? ?? ????? ?? ??? ? ????.
SASS ?? CSS? ???? ?? ??? ????? ????? ???? ? ????. ????? ?? ??? ??? ???? main.js
??? require
??? ???????? ?? ? ? ????.
?? ?? ( "@/assets/transitions.css");
? ?? ??? ?? ???? ?? CSS ??? ???? ????.? ??? ????? ?? ?? ?? ??? ?? ??? ??? ?? CSS ??? ???? ????. ??? ???? CSS ????? ?? ?? ?? ? ??? ????. index.html
??? ?? ??? ??????.
<link href="/css/transitions.css" rel="stylesheet" type="text/css">
? ??? ?? ????? ???? ?? CDN? ????? ?? ? ? ????. ??? ???? ? ??? ?? ??? ???? ?? ???? ?? ??? ?? ??? ? ????. ? ?? ??? ????? ?? ????? ??? ?? ? ??? ???? ??? ? ????.
?? ?? ????????
???? ??? ?? ??? ?? ???? ?? ? ? ?????? ?? ?? ???? ?????? ?? ???? ??? ??? ?? ???? ??? ???. ?? ???? ?? ?????? ?? ???? ?????? ??? ?? ???, ??? ??? ??? ??? ? ????. ?? ?, WebKit? ??? ?? ???? ??? ???? ?? prefers-reduced-motion
. Eric Bailey? ?? ??? ??? ?? ?? ??? ??????.
???? ?? ?? ??? ??? ??? ??? ?? ?? ?? ?? ???????. ???? ??? ??? ?? ??? ??? ??? ?? ??? ? ??? ?? ? ????.
??? ? ?? ? ??? ??? ????.
.next-enter { ???? : 0; ?? : scale3d (2, 0.5, 1) translate3d (400px, 0, 0); } .next-enter-to {transform : scale3d (1, 1, 1); } .next-enter-active, .next-leave-active {?? : 0.5S ??-? ?? (0.68, -0.55, 0.265, 1.55); } .next-leave {transform : scale3d (1, 1, 1); } .next-leave-to { ???? : 0; ?? : scale3d (2, 0.5, 1) translate3d (-400px, 0, 0); } /* ?? ?? ???? ?????? ???? ??? ?? ??*/ @Media ?? ? (?? ?? ?? : ??) { .next-enter { ???? : 0; ?? : translate3d (100px, 0, 0); } .next-enter-active, .next-leave-active {?? : 0.5s; } .next-leave-to { ???? : 0; ?? : translate3d (-100px, 0, 0); } }
? ???? ?? ??? ??? ?? ? ???? ??????. ?????? ?? ?? ??? ???? ?? ? ???? ????????. ???? ?? ?? ??? ????, ?????? ? ?? ?? (? ???)? ? ??? ????? ???? ?????. ??? ???? ?? ???, ??? transition
???? ???? ???? ? ?? none
?? ???????.
?? ?????? ?? ?? ???? ???? ?? ???????. Windows???<kbd>控制面板> 易于訪問(wèn)中心> 使計(jì)算機(jī)更容易查看</kbd>
; "?? ???? ?????? ????? (????). Mac??<kbd>系統(tǒng)偏好設(shè)置> 輔助功能> 顯示</kbd>
; "??? ??"? ?????. ?? iOS ????<kbd>輔助功能</kbd>
???? ??? ??? ????.
?? ??? ???? ?????
? ?? ??? ???? ???? ????? ? ????. ?? ??, ??? ?? ?? ??? ??? ??? ?? ????????? ??? ?? ?? ?? ??? ? ??? ???? transition-duration
??????. ??? ??? ?? ??? ??? ?? ???? ??? ????.
?? ?? ??? ?? ?? ?? ?? ???? ??? ???? ?? ???? ????.
<transition name="fade"><div style="transition-duration: 6s;" v-if="isVisible"> ??? ??? ????</div></transition>
??? ??? VUE?? ???? ??? ?? ? ???? ?? ? ? ??????.
?? ?? ?? ?? ??? ???? ?? is
???? ?? ?? ??? ????? ?? ? ???.
<transition mode="out-in" name="fade"><component :is="currentComponent"></component></transition>
? ?? ?? ??? ?????? ?? ??? ??? ??? ??? ??? ????. ?????, ?? ??? ?? ??? ?? ? ?? ?? ??? ??? ???? ?? ? ? ????. ?? ??? ?? ?? ???? ????? ??? ?? ??? ????.
<transition mode="out-in" name="fade"><component :is="currentComponent" style="transition-duration: 6s;"></component></transition>
? ?? ??? ??? ?? ??? ???? ????. ?? ??? ??? ?? ??? ?? ??? ??? ?? ?? ??? ??? ? ????.
<transition mode="out-in" name="fade"><component :is="currentComponent" duration="6s"></component></transition>
<template><div :style="`transition-duration: ${duration}`"> ?? ?? 1</div></template> <script> export default { name: "component-one", props: { duration: String } }; </script>
?? ?? ?? ??? ?? ??, ?? ?? ??? ?? ???? ??? ??? ? ????.
.Fade-Enter-Active, .fade-leave-active {?? ?? : 1s; }
? ??, ?? ??? ??? ?? ?? ??? ? ????? ? ?? ?? 1 ?????. ? ?? ? ??? ???? ? ??? ?? ?? ?? ??? ??? ?? ????.
.fade-enter-active {?? ?? : 1s; } .fade-leave-active {?? ?? : 2s; }
??? ?? ?? ?? ??? ?? ??? ?? ???? ??? ? ????. ??? ?? ??? ?? ???? ????? ??? ??? ?? ??? ?? ?????.
?????, ?? ?? ?? ???? ?????? ??? ??? ??? ????.
?? ??
??? Vue? ?? ?? ?? ?? ???? ?? ?? ? ??? ??? ? ?? ???? ??? ??? ??????? ???? ????. ?? ?? ??? ?? ??? ?? ? ? ????. ?, ?? ???? ??? ???? ??? ? ????.
?? ??? ?? ??? ?? ?? ????? ??? ??? ??? ??? ? ??? ?????. ?? ??, ??? ?? ??? ?? ??? ???? ??? ?? ??? ???? ??? ???? ?? ??? ?? ??? ?? ?? ??? ????????.
? ? ?? ?? ?? ?????.
? 1 : ??? ?? ??? ??????
? ???? ?? ? ??? ?? ??? ????. ? ?? ??? ???? ???? ??? ???????. ?? ?? ??? ???? ??? ?? ??? ??????. ?? ??? ??? ??? ????? ???? ??? ?? ?????. ??? ??? ??, ??? ?? ? ?? ?????? ??? ? ??? ???? ??? ?????. ??? ???? ??? ??? ????? ???? ??? ???? ??? ?????.
? ???? ??? ???? ??? ?? ??? ???? ????. ??? HTML???.
<transition :name="currentTransition"><div v-if="answerChecked"> {{ ?? }}</div></transition>
??? ?? ?????. ??? ??? ??? ??? ?? ?? Div?? v-if
????. ?? ??? ?? ??? ???? ?? True ?? False ???? ??????.
?? CSS? ??? ????.
. ?? ??-?? {????? : ??? ? 1s; } @keyframes positive { 0% {transform : translate3d (0, 0, 0); } 25% {transform : translate3d (0, -20px, 0); } 50% {transform : translate3d (0, 20px, 0); } 75% {transform : translate3d (0, -20px, 0); } 100% {transform : translate3d (0, 0, 0); } } .negative-enter-active {????? : ?? 1s; } @keyframes negative { 0% {transform : translate3d (0, 0, 0); } 25% {transform : translate3d (-20px, 0, 0); } 50% {?? : Translate3d (20px, 0, 0); } 75% {transform : translate3d (-20px, 0, 0); } 100% {transform : translate3d (0, 0, 0); } }
CSS ?????? ???? ????, ?? ? ??? ??? ???? ?? ? ? ????.
??? JavaScript ?????.
?? : { randomproblem : function () { this.a = math.floor (math.random () * math.floor (10)); this.b = math.floor (math.random () * math.floor (10)); }, ?? : function () { this.response = this.a this.b === parseint (this.answer); this.answerChecked = true; ? .currentTransition = this.Response? '???': '????'; }, ??? : function () { this.answer = null; this.answerChecked = false; this.randomproblem (); } }
??? ???? ?????? randomProblem
?????. check
??? ??? ??? ??? ???? ??? ?? ??? ?????. ?? ?? ?? ?? ????? ??? reset
??? ????.
??? ??? ??????. ? ?? ??? ?? ??? ???? ???? ?? ? ?? ?? ??? ?? ?????. ???? ??? ???? ?? ?? ???? ?? ?? ??? ??? ????? ??? ?????? ??? ? ????. ????? ? ???? ?????? ???? ?? ??? ??? ?? ? ? ????.
? 2 : ??? ?? ??? ?? ??? ?????
??? ?? ? ??? ? ?? ?? ??? ?? ?????. ??? ???? ??????, ?? ??? ?? ??? ?? ? ? ????. ?? ????? ????? ???? ??? ??????? ????. ? ???? ???? ???? ???? ??? ?? ?? ???? ??? ??? ? ????.
??? ?? ??? ??? ?????. ? ??? ?? ???? ??? ??? ?? ?????. ??? ? ??? ???? ???? ? ?? ?? ??? ?????. ?? ?????? ?? ????? ?? ? ?? ?? ??? ??? ?? ?? ???? ??? ??? ? ????. ? ??? ????? ???? ?? ???? ?????.
??? HTML???.
<transition :name="currentTransition" mode="out-in"><component :is="slides[currentSlide]"></component></transition>
?? ??? ???? ?? ?? ? ??? ?? ?? ??? ?? is
?? ? ? ????.
??? CSS???.
.next-enter { ???? : 0; ?? : scale3d (2, 0.5, 1) translate3d (400px, 0, 0); } .next-enter-to {transform : scale3d (1, 1, 1); } .next-enter-active, .next-leave-active {?? : 0.5S ??-? ?? (0.68, -0.55, 0.265, 1.55); } .next-leave {transform : scale3d (1, 1, 1); } .next-leave-to { ???? : 0; ?? : scale3d (2, 0.5, 1) translate3d (-400px, 0, 0); } .prev-enter { ???? : 0; ?? : scale3d (2, 0.5, 1) translate3d (-400px, 0, 0); } .prev-enter-to {transform : scale3d (1, 1, 1); } .prev-enter-active, .prev-leave-active {?? : 0.5S ??-? ?? (0.68, -0.55, 0.265, 1.55); } .prev-leave {transform : scale3d (1, 1, 1); } .prev-leave-to { ???? : 0; ?? : scale3d (2, 0.5, 1) translate3d (400px, 0, 0); } /* ?? ?? ???? ?????? ???? ??? ?? ??*/ @Media ?? ? (?? ?? ?? : ??) { .next-enter {???? : 0; ?? : translate3d (100px, 0, 0); } .next-enter-active, .next-leave-active {?? : 0.5s; } .next-leave-to {???? : 0; ?? : translate3d (-100px, 0, 0); } .prev-enter {???? : 0; ?? : translate3d (-100px, 0, 0); } .prev-enter-active, .prev-leave-active {?? : 0.5s; } .prev-leave-to {???? : 0; ?? : translate3d (100px, 0, 0); } }
???? ???? "??"??? ?? ? ? "??"??? "??"??? ?? "??"??? ?? ? ?? ??? ????. ??? ????? transform
??? ???? ?? ??? ??? ???? ?? ?? ? ?? ????? ?? ??? ????? ?? ??? ????. ??? ?? prefers-reduced-motion
???? ?????? ? ??? ??? ??? ???? ??? ???? ?? ? ??????.
?? JavaScript? ?? :
?? : { Changeslide : ?? (dir) { this.currentslide = dir === 'next'? ? .currentslide 1 : this.currentslide -1; this.currenttransition = dir; } }
? ??? ?? ????? changeSlide
???? ???? ???? ??? ?????. ?? ?? ?? ????? ???? ???? ??? ????. ?? ?? ?? ?? ?? ??. "??"??? ???? "??"? ???? ??? CSS? "??"??? ?????. "??"??? ???? ???????. ???? ??? ?? ? ??? ?? ????? ??? ??? ???? ?? ????. ??? ???? ???? ??? ??? ?? ????? ?? ? ??? ?? ?? ??? ????.
? 3 : ?? ??? ?? ??? ?????
??? ?? ??, transition-group
?? ?? ??? ??? ?? ??? ???? ??? ???? ??? ????. ??? ????? ??? ???? ? ??? ?? ??? ?? ? ??? ?????.
? ???? ???? ?? ??? ??? ? ??? ?????. ????? ??? ??? ? ??? ??? ? ???. ? ?? ??? ????? ??? ? ???? ?????. ??? ??? ?? ??? ?? ??? ?? ????? ???? ??? ? ?????. ??? ??? ???? ??? ? ?????.
??? HTML???.
<transition-group :name="currentListTransition" tag="ul"><li :key="item" v-for="(item, index) in selectedItems"> {{item}}</li></transition-group>
??? ?? ??? ??? ??. CSS? ??? ??? ????.
.top-enter-active, .top-leave-active {?? : 0.5s; } .top-enter, .top-leave-to { ???? : 0; ?? : translate3d (0, -40px, 0); } .top-move { ???? : 0.5; ?? : 0.5S; } .left-enter-active, .left-leave-active {?? : 0.5s; } .Left-enter, .left-leave-to { ???? : 0; ?? : translate3d (-40px, 0, 0); } .Left-Move { ???? : 0.5; ?? : 0.5S; } . ??? ??, .right-leave-active {?? : 0.5s; } . ??, .right-leave-to { ???? : 0; ?? : translate3d (40px, 0, 0); } . right-move { ???? : 0.5; ?? : 0.5S; } .Bottom-enter-active, .bottom-leave-active {?? : 0.5s; } .Bottom-enter, .bottom-leave-to { ???? : 0; ?? : translate3d (0, 30px, 0); } .bottom-move { ???? : 0.5; ?? : 0.5S; } /* ?? ?? ???? ?????? ??? ?? ??? ????*/ @Media ?? ? (?? ?? ?? : ??) { .top-enter-active, .top-leave-active {?? : ??; } .Top-Move {?? : ??; } .left-enter-active, .left-leave-active {?? : ??; } .Left-Move {?? : ??; } . ??? ??, .right-leave-active {?? : ??; } .right-move {?? : ??; } .Bottom-enter-active, .bottom-leave-active {?? : ??; } .Bottom-Move {?? : ??; } }
?????, ??? ? ?? ??? ???? ? ??? ?????.
?? JavaScript? ?? :
?? : { Choosecity : ?? (??) { selectedLength = this.SelectedItems.length???; Citieslength = this.cities.length; clt = this.currentlistransition???; if (selectedLength === 0) { clt = '??'; } else if (selectedLength> 0 && selectedLength <citieslength clt="clt" this.currentlisttransition="CLT;" this.selecteditems.push this.cities.splice><p> <code>chooseCity</code> ??? ? ??? ??? ? ???? ?? ?????. ??? ?? ???? ?? ?? ??? ??? <code>if</code> and <code>if/else</code> ????. ??? ???? ??? ??? ??? ?? ?? <code>selectedItems</code> ??? ?? ??? ?? ???. ??? 0?? ? ?? ????? ??? ???? ???????. ??? 0? ? ?? ?? ?? ? ?? ??? ??? ?? ????????. ?? ? ??? ??? ?? ?? ??? ??? ???????. ?????, ??? ??? ???? ?? ???? ?????. ?? ????, ??? <code>prefers-reduced-motion</code> ?? ??? ?? ??? ??? ????.</p> <p> ?? ??? ???? ? ?? ??? ??? ??? ??? ?? ???? ????. ?? ??, ???? ??? ??, ? ???? ??? ????. ??? ?? ? ?? ?? ???? ??? ???? ?? ??????. ?? ??, 5 ?? ???? ?? ??? ????.</p> <h3> ??, ?? ??? ??????</h3> <p> ??? ?? ?? ????? ?? ?, ??? ?????? VUE? ?? ?? ??? ???? ?? ????. ?? ?? ? ?????? ???? ????? ????? ???? ?? ? ??? ???? ??????. ?? ???, ??? ??? ????? ?? ????. ?? ???? ?? ?? ?????. Vue? ???? ?? ??? ?? ? ??? ?? ?? ??? ?????.</p> <p> ??.</p></citieslength>
? ??? Vue?? ?? ? ??? ?? ?? ?????. ??? ??? 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

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

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

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

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

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