07 2021 档案
摘要:div{ transform: rotate(45deg); transform-origin:20% 40%; } //2D 转换元素能够改变元素 x 和 y 轴。3D 转换元素还能改变其 Z 轴。 //默认值: 50% 50% 0
阅读全文
摘要:<keep-alive include="a,b"> <component :is="view"></component> </keep-alive> <keep-alive :include="['a', 'b']"> <component :is="view"></component> </ke
阅读全文
摘要:li { text-align: center; } p { display: inline-block; text-align: left; } 利用行内元素特性。 /*display: inline-block使P的宽度根据文字的宽度伸缩 */
阅读全文
摘要:<html><head></head><body> <div id="show"> </div> <button onclick="save()">存值</button> <button onclick="get()">取值</button> <button onclick="remove()">删
阅读全文
摘要:<div id="show"></div> <script type="text/javascript"> let show = document.getElementById('show'); function addShow(e){ show.innerHTML += e; return con
阅读全文

浙公网安备 33010602011771号