摘要:
1、HTML5 新元素 HTML5提供了新的元素来创建更好的页面结构: <article>: 定义页面独立的内容区域。 <aside>: 定义页面的侧边栏内容(1、放在article元素中使用,2、全局使用侧边栏)。 <bdi>: 允许您设置一段文本,使其脱离其父元素的文本方向设置。 <comman 阅读全文
摘要:
Grid Layout The CSS Grid Layout Module offers a grid-based layout system, with rows and columns, making it easier to design web pages without having t 阅读全文
摘要:
一、避免全局查找 在一个函数中会用到全局对象存储为局部变量来减少全局查找,因为访问局部变量的速度要比访问全局变量的速度更快些 二、定时器 如果针对的是不断运行的代码,不应该使用setTimeout,而应该是用setInterval,因为setTimeout每一次都会初始化一个定时器,而setInte 阅读全文
摘要:
1、webpack config 2、react-loadable 阅读全文
摘要:
Use flexbox to create a responsive website, containing a flexible navigation bar and flexible content: Flexbox Elements To start using the Flexbox mod 阅读全文
摘要:
下载安装Brew: brew brew又叫Homebrew,是Mac中的一款软件包管理工具,通过brew可以很方便的在Mac中安装软件或者是卸载软件.一般Mac电脑会默认安装有brew.常用指令如下: brew 搜索软件brew search nginx brew 安装软件brew install 阅读全文
摘要:
1、Display the typeof all variables types 2、convert a number to a string. 3、find out if a variables is an Array. 阅读全文
摘要:
1、Javescript in <head> 2、Javescript in <body> 3、Javescript in an external file、url、 folder writing into the html output / html elemnt / window alert b 阅读全文
摘要:
1、Javascript can change html content 2、Javascript can change html attributes 3、Javascript can change CSS style 4、Javascript can change hide show html 阅读全文
摘要:
CSS Transitions CSS transitions allows you to change property values smoothly (from one value to another), over a given duration. How to Use CSS Trans 阅读全文