This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrap"> | |
<div class="sidebar">Sidebar</div> | |
<div class="content">Content</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// Bourbon (v4.0.2) | |
// ---- | |
@import "bourbon/bourbon"; | |
@include font-face("Avenir", '../fonts/avenir/avenir-regular'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function gi() { | |
npm install --save-dev grunt-"$@" | |
} | |
function gci() { | |
npm install --save-dev grunt-contrib-"$@" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="content"> | |
<div class="vertical-center">Example content</div> | |
</div> |