Skip to content

Instantly share code, notes, and snippets.

View sematgt's full-sized avatar
🏘️
wip

Semyon Bliznyuk sematgt

🏘️
wip
View GitHub Profile
/*
Differences & Limitations:
Does not have its own bindings to this or super, and should not be used as methods.
Does not have arguments, or new.target keywords.
Not suitable for call, apply and bind methods, which generally rely on establishing a scope.
Can not be used as constructors.
Can not use yield, within its body.
*/
@sematgt
sematgt / scrollbar.scss
Created July 21, 2021 15:39
custom scrollbar for webkit and firefox
// scrollbar
// firefox
.textarea {
scrollbar-color: transparentize($color-titanic, 0.92) transparent;
scrollbar-width: thin;
}
// the rest, besides IE
.textarea::-webkit-scrollbar-track