Skip to content

Instantly share code, notes, and snippets.

View christoshrousis's full-sized avatar
💭
beep boop

Christos Hrousis christoshrousis

💭
beep boop
View GitHub Profile
@christoshrousis
christoshrousis / main.sass
Last active October 8, 2020 04:09
CSS Pixels to Rem Conversion using Browser Context. SCSS & SASS
// The base fontsize you want to use.
$browser-context: 16
@function rem($pixels, $context: $browser-context)
@if unitless($pixels)
$pixels: $pixels * 1px
@if unitless($context)
$context: $context * 1px
@return $pixels / $context * 1rem
@kdevo
kdevo / gitmoji-subset.md
Last active September 11, 2022 03:19
Personal subset of the gitmoji standard for better collaborative work!

Personal gitmoji subset

Intro

The idea to use semantic symbols in Git commit messages is not exactly new. A while ago, I used the following three basic ASCII symbols at the beginning of my commit messages and my changelog entries:

Symbol Meaning/Commit type
[+] Add new feature