Skip to content

Instantly share code, notes, and snippets.

View NoName4Me's full-sized avatar
🎯
Focusing

奴止 NoName4Me

🎯
Focusing
View GitHub Profile
@NoName4Me
NoName4Me / gist:8c30cac896871bd8bfe2fd4c69a710ff
Created March 1, 2018 14:39 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:

主要是一些抓取网页相关内容的功能性书签。

为了获取500px网站上的图片,可以按如下方式进行:

  • step 1 先创建一个任意书签

任意保存一个页面到书签栏

  • step 2 植入功能代码
## 设置代理
npm config set proxy=http://127.0.0.1:8087
## 限制仓库
npm config set registry=http://registry.npmjs.org

## 淘宝镜像(cnpm)
npm install -g cnpm --registry=https://registry.npm.taobao.org

html元素应该从语义方向去考虑使用,而不是样式方向。 比如emstrong其实是为了强调,而不是为了斜体、粗体而添加。

另外,还要考虑非视觉的效果,比如screen reader、SEO等,所以还是尽量使用HTML的各种标记的特征,如h1pnav等,不要想当然的用div+CSS就能搞定一切,虽然视觉上看来是没有区别的。

@NoName4Me
NoName4Me / [vue]transition.md
Last active May 2, 2017 16:00
eleme-webapp总结
<transition name="fade">
<!-- 这里是想要增添动画的元素,直接child仅限一个 -->
<div class="test">
<!-- put something here. -->
</div>
</transition>

会有 4 个(CSS)类名在 enter/leave 的过渡中切换:

  • v-enter: 定义进入过渡的开始状态(在元素被插入时生效)。