-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第十三周 2017-11-03 #14
Comments
从Chrome源码看浏览器如何加载资源 |
提供适配 iphoneX 的方法。概括来讲:
<meta name='viewport' content='initial-scale=1, viewport-fit=cover’>
实际上 viewport-fit 目前只在 iOS 11+ 上支持,所以如果直接在 meta 中添加浏览器会出现讨厌的
.post {
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
}
.post {
padding-left: calc(env(safe-area-inset-left) + 12px);
} |
-谈谈我对函数式编程的理解
里面附带了月影《如何写“好” JavaScript》的ppt。
文章和ppt的干货都挺多的。文章里举了几个常见的高阶函数在实际应用的例子,节流,连击,执行一次。函数式编程实际上就是很多个高阶函数组装完成了一个复杂的功能。周末我得在看看,还没看完 = . =
-Vue项目架构设计与实践
从0~1搭建一个前后端分离的vue项目详细过程
The text was updated successfully, but these errors were encountered: