SHARE
TWEET

Untitled

a guest Jul 17th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mixin yellow-btn(data)
  2.     - data = data || {}
  3.     - width = data.width || 418
  4.     - height = data.height || 66
  5.     - text = data.text || 'Текст кнопки'
  6.     - type = data.type || false
  7.     - isType =type?'_'+type:''
  8.     - href = data.href || '#'
  9.     - background = data.background || '#ffdd2d'
  10.  
  11.     div(class='yellow-btn__wrapper'+isType)
  12.         table(cellspacing='0', cellpadding='0', align='center', style='margin: auto')
  13.             tr
  14.                 td(align='center', width=width, height=height, bgcolor=background).yellow-btn&attributes(attributes)
  15.                     a(href=href style='line-height:' + height +  'px' target='_blank').text.yellow-btn__link
  16.                         span.yellow-btn__text!=text
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top