美文网首页
Framer动效02

Framer动效02

作者: huangxiaohao | 来源:发表于2016-07-20 19:48 被阅读48次

程序如下:

Screen.backgroundColor="#28AFFA"

constraints=new Layer

width: 300

height:150

x: Align.center

y:Align.center

backgroundColor:"rgba(255,255,255,0.2)"

LayerDrag=new Layer

width: 150

height:150

x: Align.center(-75)

y:Align.center

backgroundColor: "#FFF"

borderRadius: 4

LayerDrag.draggable.enable=true

LayerDrag.draggable.vertical=false

LayerDrag.draggable.overdrag=true

LayerDrag.draggable.bounce=true

LayerDrag.draggable.monmentum=true

LayerDrag.draggable.constraints=constraints.frame

相关文章

  • Framer动效02

    程序如下: Screen.backgroundColor="#28AFFA" constraints=new La...

  • Framer动效15

    今天照着framer官网的视频做了一个Facebook的Group的动效。 我们首先来看动效的几个点: Group...

  • Framer 动效15

    传送门 http://www.jianshu.com/p/dabd180b3620

  • Framer动效06

    # Import file "动效05" (sizes and positions are scaled 1:2)...

  • Framer动效03

    Screen.backgroundColor="#2dd7aa" scroll=new ScrollCompone...

  • Framer动效04

    Screen.backgroundColor="#7ddd11" page=new PageComponent x...

  • Framer动效05

    Screen.backgroundColor="#877dd7" LayerA=new Layer width: ...

  • Framer动效07

    自己动手做的第一个动效,没有再跟着教程啦 这个动效是在安卓手机上刷知乎遇到的 很简单的material desig...

  • Framer动效09

    Screen.backgroundColor="fff" layerA=new Layer width:20 he...

  • framer动效12

    #设置屏幕颜色 Screen.backgroundColor="white" #新建layerA层级 layerA...

网友评论

      本文标题:Framer动效02

      本文链接:https://www.haomeiwen.com/subject/scovjttx.html