1

Type
corner (diagonal)
Tags
promotion
button
highlight

Preview

Implementation

Markup
banner-1(url,text,[hook])
ParameterDefinitionType
urlattribute: hrefstring
textSVG: fragmentstring
hookattribute: classstring
Brief

Page corner banner for use as a button. Place as a direct child of an element with relative positioning.

Paths
  • location:  components/banners/1
  • activate:  templates/_/mixins.pug
Dependencies
  • _.pug
  • index.styl
Examples
section.canvas
    +banner-1("http://example.com/", "Lorum ipsum dolor")
banner-1()