Skip to content

Instantly share code, notes, and snippets.

View gmlnchv's full-sized avatar

Georgy Malanichev gmlnchv

View GitHub Profile
.lp--retail .lp-banner__skew {
background: #fcbd1b;
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=-0.5773502691896246, M21=0, M22=1, SizingMethod='auto expand')";
}
.lp-banner__skew {
left: -95px;
left: -185px\9;
width: 570px;
height: 319px;
@gmlnchv
gmlnchv / .bowerrc
Last active August 29, 2015 14:01
.bowerrc and bower.json
{
"directory": "bower_components"
}
@gmlnchv
gmlnchv / index.html
Created May 21, 2014 00:04
jQuery CDN/local
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="bower_components/jquery/dist/jquery.min.js"><\/script>')</script>
@gmlnchv
gmlnchv / onresize.js
Created May 22, 2014 23:07
Debulked onresize handler
// debulked onresize handler
// http://git.io/ewxZVQ
function on_resize(c,t){onresize=function(){clearTimeout(t);t=setTimeout(c,100)};return c};
if (!window.location.origin) { // Some browsers (mainly IE) does not have this property, so we need to build it manually...
window.location.origin = window.location.protocol + '//' + window.location.hostname + (window.location.port ? (':' + window.location.port) : '');
}
@gmlnchv
gmlnchv / embed.scss
Created November 9, 2014 21:24
Responsive embed
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
&.embed-widescreen {
padding-bottom: 56.25%;
}
.embed-responsive-item,
<svg xmlns="http://www.w3.org/2000/svg" width="424.2" height="792" viewBox="93.5 2.3 424.2 792"><path fill="#949494" d="M457.5 2.3h-303c-33.5 0-60.9 27.4-60.9 60.9v670.2c0 33.5 27.4 60.9 60.9 60.9h302.3c33.5 0 60.9-27.4 60.9-60.9V63.2c.8-33.5-26.6-60.9-60.2-60.9zm35.8 669.4H118.7V94.4h373.9v577.2h.7z"/><path fill="#13A4DE" d="M396 381.8h-75.8V306h-28.4v75.8H216v28.4h75.8V486h28.4v-75.8H396"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="424.2" height="792" viewBox="93.5 2.3 424.2 792"><path fill="#949494" d="M457.5 2.3h-303c-33.5 0-60.9 27.4-60.9 60.9v670.2c0 33.5 27.4 60.9 60.9 60.9h302.3c33.5 0 60.9-27.4 60.9-60.9V63.2c.8-33.5-26.6-60.9-60.2-60.9zm35.8 669.4H118.7V94.4h373.9v577.2h.7z"/><path fill="#13A4DE" d="M396 381.8h-75.8V306h-28.4v75.8H216v28.4h75.8V486h28.4v-75.8H396"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="55.7" height="104" viewBox="277.8 346.3 55.7 104"><path fill="#949494" d="M325.6 346.3h-39.8c-4.4 0-8 3.6-8 8v88c0 4.4 3.6 8 8 8h39.7c4.4 0 8-3.6 8-8v-88c.1-4.4-3.5-8-7.9-8zm4.7 87.9h-49.2v-75.8h49.1v75.8h.1z"/><path fill="#13A4DE" d="M315.1 396.8h-8v-8h-3v8h-8v3h8v8h3v-8h8"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="10" viewBox="0 0 20 10"><path fill="#4F7A87" d="M20 0L10 10 0 0"/></svg>