Skip to content

Instantly share code, notes, and snippets.

Ben benjamin-hull

Block or report user

Report or block benjamin-hull

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@benjamin-hull
benjamin-hull / index.html
Last active Mar 28, 2018
Square cropping for instafeed.js
View index.html
<h1>Square cropping images</h1>
<p> 2 techniques, useful with <a href="https://github.com/stevenschobert/instafeed.js">Instafeed.js</a>, amongst other things.</p>
<div class="image-boxes">
<div class="image-box">
<img src="https://instagram.fmel2-1.fna.fbcdn.net/vp/69d4df6c6e8d6bd852d44ca5e6363d57/5B3986B1/t51.2885-15/e35/25036465_1210383369106751_8835892581469519872_n.jpg"/>
<span class="caption">Standard Landscape image</span>
</div>
View gist:3991085
<div class="pdpLongDescriptionSeq">
<div class="pdpLongDescription" id="pdpLongDescription">
<div class="displayBox">
<h3>Details</h3>
<p>These black classic round toe court are right on the style scene with visible platform and counter stud detail.</p>
</div>
</div>
<div class="pdpLongDescription" id="pdpLongDescription_005170360" style="display:none">
<div class="displayBox">
View gist:3983383
<!-- Using raw static navigation -->
<ul id="eCommerceNavBarMenu">
<li class="topLevel navfirstitem">
<a class="topLevel" href="&#47;online&#47;shop&#47;new-in">
New In
</a>
View gist:3983268
<!-- Using static navigation -->
<ul id="eCommerceNavBarMenu">
<li class="topLevel navfirstitem"><a class="topLevel" href="/online/shop/new-in">New
In</a></li>
<li class="topLevel">
<a class="topLevel" href="/online/shop/shoes">Shoes</a>
<div class="ecommerceMegaMenu Shoes c4">
<!-- floated parents need a width (total of children) -->
View gist:3838528
Twin Twin XL Full Full XL Queen King Cal King
var SKUdata = {
savingsConfig: {
minSavingAmountToDisplay: 10,
minSavingPercentageToDisplay: 10
},
attributes: ['Size','Foundation'],
skus: {
68858: {
View gist:3838268
var SKUdata = {
savingsConfig: {
minSavingAmountToDisplay: 10,
minSavingPercentageToDisplay: 10
},
attributes: ['Size','Foundation'],
skus: {
70191: {
'Size': 'Twin',
You can’t perform that action at this time.