Como fazer em casa
  • Início
  • Dia dos Pais
  • Jardim
  • Receita
  • Flores
  • Dicas
  • Contato
Iníciocomo fazer biscoitos da sorte de feltro

como fazer biscoitos da sorte de feltro

Como fazer biscoito da sorte em feltro
Artesanato

Como fazer biscoitos da sorte de feltro

18 de setembro de 2012 Cultips 3

Crie um artesanato bem simples com feltro para presentear os convidados!

Buscar

Siga – nos

Fale pelo Telegram

Copyright © 2026 | Design AP

jQuery(document).ready(function() { function isNegative(num) { if (Math.sign(num) === -1) { return true; } return false; } jQuery('.type-post p, .wp-block-image, h6 a').each(function(index) { var $this = jQuery(this); var img = jQuery(this).find('img'); var container = img.parent(); var containerwidth = container.width(); var imgwidth = jQuery(this).find('img').attr('width'); var url = jQuery(this).find('img').attr('src'); var alt = jQuery(this).find('img').attr('alt'); container.append('
'); var btn = jQuery(this).find('.printbtn'); var dif = parseInt((containerwidth - imgwidth)/2 + 10); if(isNegative(dif)){ dif = 10; } if(dif>100){ dif=10; } var diff = dif + 'px'; if(containerwidth == imgwidth){ btn.css('left', '15px'); }else{ btn.css('left', diff); } btn.css('bottom', '80px'); container.css('margin-bottom', '-40px'); }); jQuery('.print-btn').on('click', function() { var theID = jQuery(this).attr('id'); jQuery('.type-post p, .wp-block-image, h6 a').each(function(index) { if(theID == index){ var img = jQuery(this).find('img').attr('src'); printJS({printable: img, type: 'image'}) } }); }); });