Skip to content

Instantly share code, notes, and snippets.

@davidkcyip
davidkcyip / input.scss
Created June 29, 2022 09:31
Generated by SassMeister.com.
@mixin highlightedPriceHeaders($size: 45px){
@for $i from 1 through 6{
h#{$i}{
@if $i == 2 {
font-size: 37px;
$size: 40px;
} @else {
font-size: calc(#{$size} - #{($i - 1) * 5}px);
}
white-space: nowrap;
@davidkcyip
davidkcyip / input.scss
Last active June 29, 2022 09:31
Generated by SassMeister.com.
@mixin highlightedPriceHeaders($size: 45px){
@for $i from 1 through 6{
h#{$i}{
@if $i == 2 {
font-size: 37px;
$size: 35px;
} @else {
font-size: calc(#{$size} - #{($i - 1) * 5}px);
}
white-space: nowrap;