Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
alice-iconfont
Advanced tools
支付宝的 iconfont 集,把图标放入自定义字体中,然后使用字体图标来替代普通图标。
注意,不要依赖这个模块,在支付宝全站的头部将会部署这段样式。所有的 alice 模块也都可以默认使用 iconfont。
先请看这个 http://site.alipay.im/rei/ (内网可访问)。
Rei其实就是自定义字体,在这个字体的坑位里,不是字或符号而是我们放进去的图标。然后使用css3的@font-face来使用这个自定义字体。
‘@font-face’规则首先定义在CSS2规范中,但是在CSS2.1中被删除,目前又被纳入到CSS3推荐草案中,所以不用担心IE系列,从IE4开始就支持这一属性了,并且现在一些主流的浏览器(Chrome 1+/Firefox 3.5+/Safari 3.1+/iOS 3.1+/Opera 10+)也都支持。
请联系 @定风波 。
FAQs
一套简单实用的 iconfont 集合。
The npm package alice-iconfont receives a total of 0 weekly downloads. As such, alice-iconfont popularity was classified as not popular.
We found that alice-iconfont demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.