Skip to content

Instantly share code, notes, and snippets.

Keymap (Windows Users):
[
{ "keys": ["alt+shift+f"], "command": "reindent" },
]
Settings:
{
"show_definitions": false,
"auto_complete": false,
"bold_folder_labels": true,
@Amalker
Amalker / scroll-top.html
Created October 26, 2017 13:44 — forked from agragregra/scroll-top.html
Scroll Top Button
<div class="top" title="Наверх"><i class="fa fa-angle-double-up"></i></div>
.top
position: fixed
bottom: 25px
background-color: #E0E0E0
border-radius: 10em
color: #666
font-size: 26px
width: 50px
@Amalker
Amalker / owl-equal-heights.js
Created October 26, 2017 13:43 — forked from agragregra/owl-equal-heights.js
Owl Carousel Equal Heights
onRefresh: function () {
owl.find('div.owl-item').height('');
},
onRefreshed: function () {
owl.find('div.owl-item').height(owl.height());
}
@Amalker
Amalker / button.sass
Created October 26, 2017 13:33 — forked from agragregra/button.sass
Button Sass Styles (Universal Starter)
.button
display: inline-block
border: none
color: #fff
text-decoration: none
background-color: $accent
padding: 15px 45px
font-size: 13px
text-transform: uppercase
font-weight: 600
@Amalker
Amalker / expand abbreviation by tab
Created February 12, 2017 17:01 — forked from iledcom/expand abbreviation by tab
Emmet for sublimetext 3 ul>li
{ "keys": ["tab"], "command": "expand_abbreviation_by_tab", "context":
[
{
"operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.postcss, source.jade, text.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string",
"operator": "equal",
"match_all": true,
"key": "selector"
},
{
"operand": "storage.type.templatetag.django",
@Amalker
Amalker / masonry_imageloaded.js
Created February 8, 2017 10:44 — forked from agragregra/masonry_imageloaded.js
Masonry imagesLoaded
var $container = $(".masonry-container");
$container.imagesLoaded(function () {
$container.masonry({
columnWidth: ".item",
itemSelector: ".item"
});
});