This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deine Basis in der .gitconfig | |
[user] | |
name = Dein Name | |
email = [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%checkboxandRadioStyle { | |
+ label { | |
&:before { | |
border: 1px solid red; | |
@at-root .checkboxtype#{&} { | |
border-color: black; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.message > li { | |
background-color: green; | |
} | |
.message--error.message > li { | |
background-color: red; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$spacing-orientation-map: ( | |
'frame-space-before': 'top', | |
'frame-space-after': 'bottom' | |
); | |
$spacing-map: ( | |
'extra-small': '1', | |
'small': '2' | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$blue: #d63384; | |
$yellow: #ffc107; | |
$green: #198754; | |
$primary: $yellow; | |
$success: $green; | |
$theme-colors: ( | |
"primary": $primary, | |
"success": $success |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// How can I write this in #SCSS without writing the > li for message--error again? | |
// like .message.message--error > li | |
.message { | |
> li { | |
background-color: green; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.25) | |
// Compass (v1.0.3) | |
// ---- | |
$h1-fontsize: ( | |
null: ( | |
size: 26px | |
), | |
'768px': ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.25) | |
// Compass (v1.0.3) | |
// ---- | |
/** | |
* Convert font-size from px to rem with px fallback | |
* | |
* @param $size - the value in pixel you want to convert | |
* |
NewerOlder