V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  xcatliu  ›  全部回复第 57 页 / 共 78 页
回复总数  1541
1 ... 53  54  55  56  57  58  59  60  61  62 ... 78  
2016-08-29 22:30:02 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@shisaq 已更新 README ,丰富了很多。
2016-08-29 22:25:33 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@726332269 感谢反馈,我已记录到 issue ,将来会修复。
2016-08-29 22:17:54 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@wolfan 哈哈,我的英语也不怎么好,很多 Chinish , 不过外国人应该看得懂就行啦。还没时间写中文文档,等稳定后会写中文文档的。
2016-08-29 21:44:15 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@hjse7en 感谢建议!不过 bootstrap v4 和 purecss 都是没有边距的, Skeleton 在手机上样式很糟糕。
我个人也觉得不要边距比好合适。不过 Mobi.css 很容易 build 一份自己的。只需要改一下 src/_variables.scss 里面的参数即可。如果有人需要有边距的可以自己 build 一份。

http://v4-alpha.getbootstrap.com/getting-started/introduction/
http://purecss.io/base/
http://getskeleton.com/
2016-08-29 21:29:12 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@726332269 应该做的是自适应,请问你是什么设备看的?
2016-08-29 21:28:36 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@kn007 @shisaq 多谢支持!嗯,稍后更新 readme 。兼容性说明等我测试完所有设备再加。
2016-08-29 21:18:56 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@bertonzh Autoprefixer 已加
2016-08-29 21:18:37 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@maomaomao001 @bertonzh @yoa1q7y @newbieo0O
现在没有 Macbook 可供调试,等我找台 Macbook 再修复 radio 和 checkbox 的问题。
2016-08-29 19:47:14 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@maomaomao001 @guyskk @BOYPT col-half 已改为 col-1-2 其他的也改过来了,详见 append
2016-08-29 18:13:35 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@avenger 感谢关注, Purecss 确实是一个很好的 css library ,我也参考了一些它的代码。下面回答一下你的问题。

Mobi.css 是专门为 mobile 设计的。针对 desktop 只保留了一个 sidebar 用于放二维码等不需要展示在 mobile 的内容。

其他优势:

1. 2.8kb vs 4.6kb 其实并不算优势, Mobi.css 后面可能会更大一些。但是应该会保持在 4kb 以内。所以并不是强调它是最小的吧,只是借此说明它重视移动端的小体积。
2. Mobi.css 重度依赖于 flexbox ,在很多场合它比传统的 css 更适合 grid ,也更加灵活。相信未来拥抱 flexbox 是一个趋势。
3. 提供一些针对移动端的样式,比如 scrollable ,将来会添加一些常用的。
4. 提供一些移动端开发的小技巧。

老实说 Purecss 是一个很好的选择,基本上需要的功能都有。而且足够小。不过如果只需要做移动端页面的话, Mobi.css 也是一个不错的选择。

重新造一个轮子的意义:

1. 学习知识,分享知识。我在做的过程中把其他库源码基本上都看了一遍,也查阅了很多资料。相信这个借鉴了很多库的 Mobi.css 可以给一些人也带来帮助,即使不用它而只看它源码。
2. 输出自己的设计观念,希望 mobile 上能够有更好的作品出现(一些站点对 mobile 上的设计非常匮乏)。
3. 获得 star ,使自己的 GitHub Profile 更好看哈哈 https://github.com/xcatliu 欢迎 Follow
2016-08-29 16:45:23 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@hjse7en 主要是考慮到移動端屏幕太小了,看代碼不方便,能大一點區域就大一點
2016-08-29 16:31:25 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@arens 感謝支持
2016-08-29 16:28:28 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@newbieo0O 感謝測試,稍後修正一下。
2016-08-29 13:13:48 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@andypinet 懂了,回头我看看相关的资料,多谢建议!
2016-08-29 12:13:06 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@andypinet 谢谢关注。请问可以描述具体一点吗?没有理解 input 不要直接改是什么意思
2016-08-29 11:24:13 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@acdea4effdbb420d 谢谢支持,后续打算先做个 hexo 主题
2016-08-29 11:15:01 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@arslion 太细心了。。。我都没注意到,稍后改过来。多谢!
2016-08-29 10:45:35 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@horizon 嗯,等当前版本基本稳定之后写个分享。感谢支持!
2016-08-29 10:44:19 +08:00
回复了 stephen001 创建的主题 分享创造 做了一个清新的 hexo 主题 fresh :)
star 支持!
2016-08-29 10:18:54 +08:00
回复了 xcatliu 创建的主题 程序员 「Mobi.css」轻量,灵活的移动端 css library, built with love
@yoa1q7y 嗯这个是系统的 radio 样式,我稍后做一些调整吧

多谢建议!
1 ... 53  54  55  56  57  58  59  60  61  62 ... 78  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2934 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 14:42 · PVG 22:42 · LAX 07:42 · JFK 10:42
Developed with CodeLauncher
♥ Do have faith in what you're doing.