@import '~common/stylus/variable' // base f-width-center(n) position absolute width n margin-left 50% - n * 0.5 // caller invoke(arg, fn) fn(arg) // component c-div-full(imgUrl) background url(imgUrl) no-repeat center background-attachment fixed background-size cover width 100% height 100% position: fixed c-btn-center(imgUrl, btn-width) background url(imgUrl) no-repeat center invoke(btn-width, f-width-center) background-size contain line-height 3 bottom 8% border none
stylus base
猜你喜欢
转载自1971161579.iteye.com/blog/2404894
今日推荐
周排行