Sha256: 2941128d4ce75552ebdc70f619a6a360d78bea423d67bebea6ab339cae7b8e47

Contents?: true

Size: 414 Bytes

Versions: 24

Compression:

Stored size: 414 Bytes

Contents

image-width(path)
  return image-size(path)[0]

image-height(path)
  return image-size(path)[1]

body
  font add(5px, 10px)
  font sub(5px, 10px)

#jesus
  width image-width('images/jesus.gif')
  height image-height('images/jesus.gif')

#jesus-2
  width image-size('images/jesus.gif')[0]
  height image-size('images/jesus.gif')[1]

#jesus-3
  size = image-size('images/jesus.gif')
  width size[0]
  height size[1]

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
stylus-source-0.23.0 vendor/examples/js-functions.styl
stylus-source-0.22.6 vendor/examples/js-functions.styl
stylus-source-0.22.5 vendor/examples/js-functions.styl
stylus-source-0.22.4 vendor/examples/js-functions.styl
stylus-source-0.22.3 vendor/examples/js-functions.styl
stylus-source-0.22.2 vendor/examples/js-functions.styl
stylus-source-0.22.1 vendor/examples/js-functions.styl
stylus-source-0.22.0 vendor/examples/js-functions.styl
stylus-source-0.21.2 vendor/examples/js-functions.styl
stylus-source-0.21.1 vendor/examples/js-functions.styl
stylus-source-0.21.0 vendor/examples/js-functions.styl
stylus-source-0.20.1 vendor/examples/js-functions.styl
stylus-source-0.20.0 vendor/examples/js-functions.styl
stylus-source-0.19.8 vendor/examples/js-functions.styl
stylus-source-0.19.7 vendor/examples/js-functions.styl
stylus-source-0.19.6 vendor/examples/js-functions.styl
stylus-source-0.19.5 vendor/examples/js-functions.styl
stylus-source-0.19.4 vendor/examples/js-functions.styl
stylus-source-0.19.3 vendor/examples/js-functions.styl
stylus-source-0.19.2 vendor/examples/js-functions.styl