View index.js
hbspt.forms.create({
portalId: '', //Your portal ID
formId: '', // Your form ID
css: '',
onFormReady: function(form, ctx) {
form.parents('.hbspt-form:first').on('DOMSubtreeModified', function() {
var hsForm = $(this);
if(hsForm.find('.submitted-message').length) {
//Your code.
}
View SassMeister-input-HTML.html
<div class="wrap">
<div class="sidebar">Sidebar</div>
<div class="content">Content</div>
</div>
View SassMeister-input.scss
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// Bourbon (v4.0.2)
// ----
@import "bourbon/bourbon";
@include font-face("Avenir", '../fonts/avenir/avenir-regular');
View bash_profile
function gi() {
npm install --save-dev grunt-"$@"
}
function gci() {
npm install --save-dev grunt-contrib-"$@"
}
View index.html
<div class="content">
<div class="vertical-center">Example content</div>
</div>