Skip to content

Instantly share code, notes, and snippets.

View Twikito's full-sized avatar
🏠
Working from home

Matthieu Bué Twikito

🏠
Working from home
View GitHub Profile
@Twikito
Twikito / input.scss
Created June 9, 2023 17:55
Generated by SassMeister.com.
@function dash-join($args...) {
$result: null;
$first-add: true;
$glue: '-';
@for $i from 1 through length($args) {
$e: nth($args, $i);
@if $e != null and $e != '' {
$result: if($i == 1 or $first-add == true, #{$e}, #{$result}#{$glue}#{$e});
@Twikito
Twikito / input.scss
Created June 9, 2023 17:53
Generated by SassMeister.com.
@function dash-join($args...) {
$result: null;
$first-add: true;
$glue: '-';
@for $i from 1 through length($args) {
$e: nth($args, $i);
@if $e != null and $e != '' {
$result: if($i == 1 or $first-add == true, #{$e}, #{$result}#{$glue}#{$e});
@Twikito
Twikito / input.scss
Created June 9, 2023 17:06
Generated by SassMeister.com.
@function dash-join($args...) {
$result: null;
$first-add: true;
$glue: '-';
@for $i from 1 through length($args) {
$e: nth($args, $i);
@if $e != null and $e != '' {
$result: if($i == 1 or $first-add == true, #{$e}, #{$result}#{$glue}#{$e});
@Twikito
Twikito / input.scss
Last active June 9, 2023 15:11
Generated by SassMeister.com.
$queries: (
default: 'all',
sm: '>xsmall',
md: '>small',
lg: '>medium',
xl: '>large',
);
@mixin responsive-classes($classname) {
@each $breakpointname, $query in $queries {
@Twikito
Twikito / README.md
Last active March 18, 2024 22:20
myCloud: HTML and CSS first practice for students

myCloud: HTML and CSS first practice for students

You'll have to code this mockup with HTML and CSS according to the state of the art, with responsive adaptations for mobile.

You can't use class, identifier or attribute selectors, neither images or javascript.

Pay particular attention to semantics.

@Twikito
Twikito / _config.scss
Last active July 25, 2018 09:47
Ultimate grid system
$global-gutters: 2rem;
$wrapper-width : 96rem;