Demo Các hướng dẫn thủ thuât trên Blogsopt

How To Add Material Design Contact Form In Blogger

How To Add Material Design Contact Form In Blogger
Today we are going to share an amazing new technology for blogger templates.How to add material design contact from in blogger custom templates. You all Must be knowing about material design and beautiful effects like ripple animation effect of the design. In this contact form trick we have used pure material design and the best part of this is it's without the java script. Currently lot's of web designer's are busy in learning material design and we have worked hard and developed this widget for our precious users.
Excited to add this contact form in your website ? To Grab this blogger trick just follow the below installation steps and you will be owning this beautiful widget in few mints.Let's do this.

How to create material design contact form in blogger

Installation Steps:

Step #1. Go to your blogger account > click on pages > Add new page.
Step #2. Change the view mode to HTML mode and copy the below code and paste it inside the page.
<style scoped="scoped">
.BsdCntct{float:none;position:relative;margin-bottom:44px;margin-right:9px}.BsdCntct input,.BsdCntct textarea{font-size:14px;padding:14px 0;display:block;width:100%;border:none;border-bottom:1px solid #ddd}.BsdCntct input:focus,.BsdCntct textarea:focus{outline:none}.BsdCntct label{color:#999;font-size:14px;font-weight:400;position:absolute;pointer-events:none;left:0;top:9px;transition:.2s ease all}.BsdCntct input:focus ~ label,.BsdCntct input:valid ~ label,.BsdCntct textarea:focus ~ label,.BsdCntct textarea:valid ~ label{top:-19px;font-size:13px;color:#00CC00}.barbsd{position:relative;display:block;width:100%}.barbsd:before,.barbsd:after{content:'';height:1px;width:0;bottom:1px;position:absolute;background:#00CC00;transition:.2s ease all}.barbsd:before{left:50%}.barbsd:after{right:50%}.BsdCntct input:focus ~ .barbsd:before,.BsdCntct input:focus ~ .barbsd:after,.BsdCntct textarea:focus ~ .barbsd:before,.BsdCntct textarea:focus ~ .barbsd:after{width:50%}.lightbsd{position:absolute;height:50%;width:100px;top:25%;left:0;pointer-events:none;opacity:.5}.BsdCntct input:focus ~ .lightbsd,.BsdCntct textarea:focus ~ .lightbsd{animation:inputHighlighter .3s ease}.BsdCntct input:focus ~ label,.BsdCntct input:valid ~ label,.BsdCntct textarea:focus ~ label,.BsdCntct textarea:valid ~ label{top:-19px;font-size:12px;color:#00CC00}
input#ContactForm1_contact-form-email-message{height:150px}
input#ContactForm1_contact-form-submit{color:#fff!important;background:#00CC00;padding:14px 25px;border-radius:4px;border:none;outline:none;box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);cursor:pointer;transition:all .4s ease-in-out;text-transform:uppercase;float:left;margin-top:14px}
input#ContactForm1_contact-form-submit:hover{box-shadow:0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}
#ContactForm1_contact-form-error-message{float:right;background:#008E00;color:#fff;font-size:13px;font-weight:700;border-radius:3px}#ContactForm1_contact-form-success-message{float:right;background:#357A37;color:#fff;font-size:12px;font-weight:700;border-radius:3px}
</style>
<form name="contact-form">
<div class="BsdCntct">
<input class="validate" id="ContactForm1_contact-form-name" name="name" required="" type="text" value="" />
<span class="lightbsd"></span>
<span class="barbsd"></span>
<label>Name</label>
</div>
<div class="BsdCntct">
<input class="validate" id="ContactForm1_contact-form-email" name="email" required="" type="email" value="" />
<span class="lightbsd"></span>
<span class="barbsd"></span>
<label>Email</label>
</div>
<div class="BsdCntct">
<textarea class="validate" cols="25" id="ContactForm1_contact-form-email-message" name="email-message" required="" rows="5"></textarea>
<span class="lightbsd"></span>
<span class="barbsd"></span>
<label>Message</label>
</div>
<input id="ContactForm1_contact-form-submit" type="button" value="Send" />
<div id="ContactForm1_contact-form-error-message">
</div>
<div id="ContactForm1_contact-form-success-message">
</div>
</form>
<script src="https://www.blogger.com/static/v1/widgets/2271878333-widgets.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(BLOG_attachCsiOnload) != 'undefined' && BLOG_attachCsiOnload != null) { window['blogger_templates_experiment_id'] = "templatesV1";window['blogger_blog_id'] = '8866800899420715293';BLOG_attachCsiOnload(''); }_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d8771880403313863692','//bloggersstand.com/','8771880403313863692');
_WidgetManager._RegisterWidget('_ContactFormView', new _WidgetInfo('ContactForm1', 'footer1', null, document.getElementById('ContactForm1'), {'contactFormMessageSendingMsg': '<span style="padding:5px 10px">Sending...</span>', 'contactFormMessageSentMsg': '<span style="padding:5px 10px">Your message has been sent successfully.</span>', 'contactFormMessageNotSentMsg': '<span style="padding:5px 10px">Message could not be sent. Please try again later.</span>', 'contactFormInvalidEmailMsg': '<span style="padding:5px 10px">A valid email address is required.</span>', 'contactFormEmptyMessageMsg': '<span style="padding:5px 10px">Message field cannot be empty.</span>', 'title': 'Contact Form', 'blogId': '8866800899420715293', 'contactFormNameMsg': 'Name', 'contactFormEmailMsg': 'Email', 'contactFormMessageMsg': 'Message', 'contactFormSendMsg': 'Send', 'submitUrl': 'https://www.blogger.com/contact-form.do'}, 'displayModeFull'));
//]]>
</script>
Customization: 
  • Change 8771880403313863692 with your blog id.
  • Change bloggersstand.com with your blog/website address.
  • Change 00CC00 color value with your desired color.You can choose Hex value of color from visiting Color Wheel Picker and Color Code Generator.
Now publish your page, you are done.

Đăng nhận xét

[blogger]

MKRdezign

Biểu mẫu liên hệ

Tên

Email *

Thông báo *

Được tạo bởi Blogger.
Javascript DisablePlease Enable Javascript To See All Widget