Skip to content

Instantly share code, notes, and snippets.

View fabiofidanza's full-sized avatar

fabiofidanza

View GitHub Profile
@fabiofidanza
fabiofidanza / burger.scss
Created October 26, 2020 15:16
CSS only no extra element burger
/* hamburger */
&:after, &:before {
content: "";
position: absolute;
right: 0;
top: 50%;
width: $menuUnit * 6;
background: $white;
height: $menuUnit;
@fabiofidanza
fabiofidanza / sass-interpolation.scss
Created May 27, 2016 16:10
Sass unicode interpolation
$termsIcons: (
1 : ('e91c','e91d'),
2 : ('e919','e918'),
3 : ('e91e','e91f'),
4 : ('e91a','e91b'),
);
.page-taxonomy-term {
.title-container {
img[style*='float: r'] {
margin: $colPadding 0 $colPadding $colPadding;
}
img[style*='float: l'] {
margin: $colPadding $colPadding $colPadding 0;
}