Today we’d love to share a little library with you that allows to add decorative lines to a webpage. The inspiration for this plugin comes from various designs that contain the line as a focal part of their layout. Examples are House of Biz, Uber Brand Experience, Details and Alexander Rochet (see images below). We wanted an easy way for adding all kinds of lines with different thicknesses and colors, in vertical or horizontal direction, and animate them. For animating the lines we use Julien Garnier’s anime.js, the lightweight JavaScript animation library.
和你分享一个小的图书馆,允许你在网页上添加装饰线条。这个插件的灵感来自于各种设计,其中包含线条作为其布局的焦点部分。的例子是家企业,Uber品牌体验、细节和Alexander Rochet(见下图)。我们需要一种简单的方法,在垂直或水平方向添加各种不同粗细和颜色的线条,并赋予它们动画效果。在我们使用Julien Garnier的anime.js线条,轻量级JavaScript动画库。
暂无讨论,说说你的看法吧