![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
字子初
如果你有能力去解决问题,而不行动,那一但有坏事发生,就是你的责任。
展开
-
elementUI使用总结(下篇)
7.8Form表单组件1.创建组件<el-form ref="form" :model="form" label-width="80px"> <el-form-item label="活动名称"> <el-input v-model="form.name"></el-input> </el-form-item> ......//表示可以创建多个<el-form-item&g原创 2020-08-16 23:29:29 · 518 阅读 · 0 评论 -
ES6:箭头函数
1 使用箭头函数的语法来计算squaredIntegers数组里正整数的平方(分数不是整数)。const squareList = (arr) => { "use strict"; // 在这行以下修改代码 const squaredIntegers = arr.filter((num) => num >0 && num % parseInt(num) ===0).map((num) => Math.pow(num,2)); // 在这行以上修改代码原创 2020-06-13 10:42:48 · 581 阅读 · 0 评论 -
HTML+CSS写一个会动的企鹅
<style> :root { --penguin-size: 200px; --penguin-skin: black; --penguin-belly: white; --penguin-beak: orange; } @media (max-width: 350px) { :root { /* add code below */ /* add code above */转载 2020-06-11 18:19:35 · 385 阅读 · 0 评论 -
用HTML+CSS写一个企鹅
<style> .penguin { /* change code below */ --penguin-skin: gray; --penguin-belly: white; --penguin-beak: orange; /* change code above */ position: relative; margin: auto; display: block; margin-top: 5%.转载 2020-06-11 17:59:33 · 196 阅读 · 0 评论