The core concept of AngularJS is modularization, encapsule everything into directives, Web Components give a chance to implement encapsulation in a standard way. Is there any possible to replace AngularJS directives with Web Components? Or in other words, with Polymer?
评论了
The core concept of AngularJS is modularization, encapsule everything into directives, Web Components give a chance to implement encapsulation in a standard way. Is there any possible to replace AngularJS directives with Web Components? Or in other words, with Polymer?
对中文排版来说,letter-spacing 并不经常用来调整字符间距,常见的场景是用来消除标签之间的空格和换行符产生的间隙,浏览器会把两个相邻的标签之间的空格和换行符压缩成一个空格,导致两个元素水平或垂直方向产生莫名其妙的间隙,常见的解决办法就是把 HTML 文档压缩下,干掉空格或换行符,或者把 letter-spacing 设置为负数。