Skip to content
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

远洋技术周刊 - 第 1 期(2019/03/29) #137

Open
hoperyy opened this issue Mar 29, 2019 · 0 comments
Open

远洋技术周刊 - 第 1 期(2019/03/29) #137

hoperyy opened this issue Mar 29, 2019 · 0 comments

Comments

@hoperyy
Copy link
Owner

hoperyy commented Mar 29, 2019

前端技术周刊 第一期(2019/03/29)

大家好,前端技术周刊和大家见面了,我是小刊的主编远洋,每周为大家梳理下近期思考以及看到的好东西。

CSS - BEM

资料:

BEM思想之彻底弄清BEM语法

如何看待 CSS 中 BEM 的命名方式

小编实践感受:

在小编最近负责的多个业务中,均实践了 CSS 的 BEM 写法。

在编写 CSS 过程中,通常需要关注 2 个问题:1. 样式会影响谁?2.谁会影响我?

举个例子,一个业务样式选择器是 ".time",是很容易遇到上面的问题:

  1. 一些通用样式库可能也会有 .time 选择器,这样会影响业务选择器 .time 的样式
  2. 业务样式选择器 .time 可能会影响子选择器中也叫 .time 的选择器

这时,用 BEM 的好处就比较明显,它将样式编写实现了:

  1. “扁平化”(少嵌套)
  2. “唯一性”,避免影响其他选择器以及避免被其他选择器影响

工作方法论 - 思维导图

小编近期在“项目管理”、“知识梳理”、“技术规划”等方面广泛使用了思维导图。

真香!

话不多说,上图:

image

前端工程化演进计划

在此保密,后面有机会详谈此处。

业内趣谈

  • 996.ICU

    github star 几乎登顶的一个项目 https:/996icu/996.ICU。

    小编想说的是,技术需要埋头做,但时间管理也值得投入时间。

    分享一个小技巧,每天无论多忙,至少抽出半个小时的时间去思考关键问题,一定会有不少收获。

  • 《阮一峰的网络日志》

    小编每周都会准时收看《阮一峰的网络日志》,包罗万象,是个不错的资讯渠道。

其他

前端周刊欢迎同学们踊跃投稿!

祝大家周末愉快。

@hoperyy hoperyy changed the title 远洋技术周刊 - 第 1 期 远洋技术周刊 - 第 1 期(2019/03/29) Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant