Skip to content

Instantly share code, notes, and snippets.

Avatar
💤
I may be slow to respond.

Vladimir Rodkin VovanR

💤
I may be slow to respond.
View GitHub Profile
@VovanR
VovanR / scrolltop-button.html
Last active Aug 29, 2015
ScrollTop Button with jQuery
View scrolltop-button.html
<!-- scrolltop begin -->
<div class="scrolltop-placeholder">
<div class="scrolltop scrolltop_hidden js-scrolltop">
<span class="scrolltop__caret"></span>
<span class="scrolltop__text">Top</span>
</div>
</div>
<!-- scrolltop end -->
@VovanR
VovanR / gist:7716e8183592bdeec2df
Last active Aug 29, 2015
Django AMD with Require.js
View gist:7716e8183592bdeec2df

Django AMD with Require.js

App options

apps/foo/templates/foo/index.html

{% load staticfiles %}

...

{# jQuery is global for third party modules #}
@VovanR
VovanR / gist:8822642
Created Feb 5, 2014
Префиксы именования картинок
View gist:8822642
# Префиксы именования картинок
bgr- Фон
shadow- Тень
icon- Иконка
btn- Кнопка
img- Картинка
pattern- Текстура
sep- Разделитель
sprite- Спрайт