10 2020 档案
摘要:https://www.cnblogs.com/zhaosq/p/10511633.html 一看就懂
阅读全文
摘要:overflow: hidden; position: fixed; width: 100%; height: 100%; background: url("./images/login_bg.jpg") no-repeat; background-size: cover; background-s
阅读全文
摘要:一、安装各种依赖 yarn add 或者 npm install + antd babel-plugin-import customize-cra less less-loader 如果执行报错请如下操作 yarn remove less-loader yarn add less@2.7.2 yar
阅读全文
摘要:一、安装 redux、react-redux、redux-thunk npm install redux --save yarn add redux --save npm install react-redux --save yarn add react-redux --save npm insta
阅读全文
摘要:先安装 antd npm install antd -S yarn add antd -S cnpm install antd -S 在index.js入口文件中引入 import 'antd/dist/antd.css' 在页面中使用 import { Form, Input, Button }
阅读全文
摘要:父组件 引入子组件,子组件的名字一定要大写 如Header import Header from '../../compontens/header/Header' export default function App() { function getChildrenData(e) { consol
阅读全文
摘要:https://www.jb51.net/article/110033.htm 感觉还不错
阅读全文
摘要:参考网址 https://blog.csdn.net/qq_40826764/article/details/88255845
阅读全文
摘要:语义化标签的优点 HTML结构清晰 代码可度性好 无障碍阅读 搜索引擎可根据标签的语言确定上下文和权重问题 移动设备能更完美的展示页面 便于团队维护开发 常用语义化标签 <h1>~<h6> 定义页面的标题,<h1>-<h6>元素等级依次降低。 <header> 页眉通常包括网站标志、主导航、全站链接
阅读全文
摘要:一、块级标签 div、p、h1-h6、form、ul、ol、dl、dt、dd、li、table、tr、td、th、hr、blockquote、address、table、menu、pre HTML5:header、section、article、footer等 块级元素独占一行,当没有设置宽高时,它
阅读全文