ReactJS学习笔记 (二)React Component

ReactJS学习笔记系列。 ...

January 4, 2019

ReactJS学习笔记 (一)前言

ReactJS学习笔记系列。 ...

January 3, 2019

Learn CSS Layout学习笔记(三)

Learn CSS Layout学习笔记(三) Learn CSS Layout是一个在线的CSS排版教程,简明扼要。 用float来进行排版 float layout example这个例子用flo...

December 26, 2018

Learn CSS Layout学习笔记(二)

Learn CSS Layout是一个在线的CSS排版教程,简明扼要。 排版的一般矛盾在于需要显示的内容大于浏览器的可视区域,这时候我们的选择一般是让内容在垂...

December 25, 2018

Learn CSS Layout学习笔记(一)

Learn CSS Layout是一个在线的CSS排版教程,简明扼要。 浏览器在加载完一个网页后,需要把HTML元素在浏览器的可视区域(viewport)中渲...

December 24, 2018

Javascript: Emulate File Download

The other day I encountered a problem, which is about how to download an audio mp3 from a website using Javascript. After a bit of search on Google, I found the answer. It’s actually quite simple. A user downloads a file from a website by clicking on a link and the browser downloads it. All you need to do is emulate the process using Javascript. download0 function download0(url, name) { var link = document....

June 5, 2018

CSS布局基础

本片来简单探讨以下CSS的布局。 ...

December 27, 2017

CSS的预处理器SASS

CSS(Cascading Style Sheet)是网页设计中最常用的语言,用于给HTML页面添加样式。CSS主要关注于如何描述样式,在可编程性上有一些缺失,导致产生了许多的CSS预处理器,用来给CSS增加可编程性和灵活度。SASS是这些可CSS预处理器之中的佼佼者。 ...

December 25, 2017