- string转number ```javascript +’1’; // 1 parseInt(‘1’, 10); // 1
2. css媒体查询通过系统设置的 在windows中显示动画控制前端界面是否显示动画<br />tip: 各个操作系统的设置位置不相同, 此处只展示window10的系统设置```css// prefers-reduced-motion: no-preference@media (prefers-reduced-motion: no-preference) {.async-button::after {transition: width 1s linear, opacity 0.5s ease 1s;}.async-button:active::after {transition: 0s;}}

