美文网首页
Framer动效03

Framer动效03

作者: huangxiaohao | 来源:发表于2016-07-20 23:29 被阅读30次

    Screen.backgroundColor="#2dd7aa"

    scroll=new ScrollComponent

    width: 300

    height:300

    x: Align.center

    y: Align.center

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

    scrollHorizontal:false

    borderRadius: 8

    scroll.contentInset=

    top:20

    bottom:20

    for i in [0..5]

    layer=new Layer

    parent: scroll.content

    name:"Row #{i}"

    width:260

    height:80

    x:20

    y:90*i

    backgroundColor:"#fff"

    borderRadius:6

    相关文章

      网友评论

          本文标题:Framer动效03

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