UNPKG

stylobate

Version:

Framework for writing really abstract CSS in Stylus

19 lines (15 loc) 509 B
kind-fill($this) position: utilus_retrieve($this.params, fixed static sticky, absolute) $sides = utilus_get_sides($this.arguments) top: $sides[0] right: $sides[1] bottom: $sides[2] left: $sides[3] $bg = $this.strings[0] $bg_color = $this.colors[0] if $bg $bg_color = unquote('') unless $bg_color background: $bg_color url($bg) utilus_retrieve($this.params, repeat repeat-x repeat-y , no-repeat) 50% // How to add bgposition here? else if $bg_color background: $bg_color