Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mixin yellow-btn(data)
- - data = data || {}
- - width = data.width || 418
- - height = data.height || 66
- - text = data.text || 'Текст кнопки'
- - type = data.type || false
- - isType =type?'_'+type:''
- - href = data.href || '#'
- - background = data.background || '#ffdd2d'
- div(class='yellow-btn__wrapper'+isType)
- table(cellspacing='0', cellpadding='0', align='center', style='margin: auto')
- tr
- td(align='center', width=width, height=height, bgcolor=background).yellow-btn&attributes(attributes)
- a(href=href style='line-height:' + height + 'px' target='_blank').text.yellow-btn__link
- span.yellow-btn__text!=text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement