优客李李

「给你的生活加点阳光!」

Body Content Shakes A Little Bit When Pop-up Box Is Appearing?

This article is about the effect of the pop-up box. Hypothetically, we have this condition: We have a web page, set body style margin: 0 auto, to make content automatically center; but we...

Font Issues about IE Embedding and Font-Spider

Recently I tried to use a font family called futura , which is just in Mac system. While I opened IE to test, it was replaced. I first tried Font-Spider, an awesome app with 2 major functions: fon...

写在27岁生日

今天我27岁了。生日快乐。 昨天是2016年7月31日,阳历生日;今天是农历六月甘九,恰好又到了农历生日。两个生日前后到来,我即迷迷糊糊给自己放了一个大假。 想来这两天放假,我暂停了Udacity的Nanodegree课程、新旧单词的学习与巩固、读英语,替代的是两款游戏、几则视频,和大片无所事事不思进取的时间。本来计划在生日期间,给自己做个阶段总结,但一直拖到这半夜,13分钟后今天即结束...

Happy 27th Birthday

今天我27岁了。生日快乐。 写在27岁生日 昨天是2016年7月31日,阳历生日;今天是农历六月甘九,恰好又到了农历生日。两个生日前后到来,我即迷迷糊糊给自己放了一个大假。 想来这两天放假,我暂停了Udacity的Nanodegree课程、新旧单词的学习与巩固、读英语,替代的是两款游戏、几则视频,和大片无所事事不思进取的时间。本来计划在生日期间,给自己做个阶段总结,但一直拖到这半夜,1...

3 Ways To Optimize Webpage Performance(网页性能优化的3种方法)

> > **Udacity课程链接** > > > > [Website Performance Optimization](https://www.udacity.com/course/website-performance-optimization--ud884) > > 工具 Chrome Dev Tools里的T...

入门学习Grunt

在Udacity上学习了一点Grunt的皮毛,其实还不算会用,只是会拿现有的文件重新套用到新项目中去。将流程记录如下,慢慢增进。 **安装node.js **node.js链接。安装完毕后,就能用npm了。查看npm的位置,可以在终端输入which npm。 **将Grunt命令行安装到全局环境中: **npm install -g grunt-cli ...

jQuery Notes

I’ve learned “Intro to jQuery” in Udacity. Here is the link: Intro to jQuery. What I’ve learned jQuery is a function as well as an object. It’s a JavaScript library. $ === jQuer...

JavaScript Notes

I learned JavaScript Basics in Udacity. This is the link: JavaScript Basics. What I’ve learned console.log(); //Let interpreter(Chrome dev tools) print out the content. 让解释器打印出括号里面的内容。 ...

Markdown Syntax

These days I’m learning “How to write readme in GitHub”, it’s time to give a collection of Markdown syntax. // 1st level caption 一级标题 // 2nd level caption 二级标题 … // 6th level caption 六级标题 code...

A Simple H5 Game -- Angry Bug(part 2)

Now it’s time to sum up canvas : canvas (画布)is an element of html documents. When using it, we must define the width and height of it, so that the browser can know how large the canvas is;...