Skip to content

Instantly share code, notes, and snippets.

@Sebastjano
Sebastjano / History\-1048247c\entries.json
Last active February 11, 2023 18:46
Microsoft VS Code settings
{"version":1,"resource":"file:///k%3A/OpenServer/domains/samagada.loc/app/index.html","entries":[{"id":"pQMa.html","timestamp":1661721615480},{"id":"ZSYh.html","timestamp":1661721691293},{"id":"fkJz.html","timestamp":1661721711650},{"id":"Scex.html","source":"undoRedo.source","timestamp":1661722014332},{"id":"y3rF.html","source":"undoRedo.source","timestamp":1661722040811},{"id":"IGUD.html","timestamp":1661722138293},{"id":"D8oF.html","timestamp":1661722155192},{"id":"E4KF.html","timestamp":1661722182100}]}
@Sebastjano
Sebastjano / SASS mixins
Created May 5, 2018 21:15 — forked from Scretch-1/SASS mixins
SASS все самые полезные миксины
// clearfix
// пример: @include cfx;
=cfx
&:after
content: "."
display: block
height: 0
clear: both
visibility: hidden
HTML:
<div class="wrapper">
<div class="tabs">
<span class="tab">Вкладка 1</span>
<span class="tab">Вкладка 2</span>
<span class="tab">Вкладка 3</span>
</div>
<div class="tab_content">
<div class="tab_item">Содержимое 1</div>
<div class="tab_item">Содержимое 2</div>
Keymap (Windows Users):
[
{ "keys": ["alt+shift+f"], "command": "reindent" },
]
Settings:
{
"show_definitions": false,
"auto_complete": false,
"bold_folder_labels": true,
@Sebastjano
Sebastjano / button.sass
Created March 28, 2017 15:28 — 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
// HTML ---------------------------------------------
<div class="loader">
<div class="loader_inner"></div>
</div>
// CSS ----------------------------------------------
.loader
background: none repeat scroll 0 0 #ffffff
bottom: 0
height: 100%
@Sebastjano
Sebastjano / Jquery Resize Height
Last active April 20, 2018 21:02
Jquery Resize Height
//Resize background header image
function heightDetect() {
$(".main_head").css("height", $(window).height());
};
heightDetect();
$(window).resize(function () {
heightDetect()
});