LESS PrefixerLess 常用样式模块

联合创作 · 2023-09-24 02:38

LESS Prefixer 提供了一些常用的 Less 的样式模块,包括:




  • .animation(@args)

    • .animation-delay(@delay)

    • .animation-direction(@direction)

    • .animation-duration(@duration)

    • .animation-iteration-count(@count)

    • .animation-name(@name)

    • .animation-play-state(@state)

    • .animation-timing-function(@function)


  • .background-size(@args)

  • .border-radius(@args)

  • .box-shadow(@args)

    • .inner-shadow(@args) *


  • .box-sizing(@args)

    • .border-box() *

    • .content-box() *


  • .columns(@args)

    • .column-count(@count)

    • .column-gap(@gap)

    • .column-rule(@args)

    • .column-width(@width)


  • .gradient(@default,@start,@stop) *

    • .linear-gradient-top(@default,@color1,@stop1,@color2,@stop2[,...) *

    • .linear-gradient-left(@default,@color1,@stop1,@color2,@stop2[,...) *


  • .opacity(@factor)

  • .text-shadow(@args)

  • .transform(@args)

    • .rotate(@deg)

    • .scale(@factor)

    • .translate(@x,@y)

    • .translate3d(@x,@y,@z)

    • .translateHardware(@x,@y) *


  • .transition(@args)

    • .transition-delay(@delay)

    • .transition-duration(@duration)

    • .transition-property(@property)

    • .transition-timing-function(@function)



浏览 19
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报