Skip to content

Instantly share code, notes, and snippets.

@GeePawHill
Created February 19, 2023 03:53
Show Gist options
  • Save GeePawHill/caf2719a6c0404abc955166eee26b7b1 to your computer and use it in GitHub Desktop.
Save GeePawHill/caf2719a6c0404abc955166eee26b7b1 to your computer and use it in GitHub Desktop.
gph-html snippets
label {
selectorAs("check-label") {
padding.top += 20.px
font_size += 30.px
color += white
float += right
line_height += 80.px
margin.right += 40.px
declarations["cursor"] = "pointer"
display += block
large {
display += none
}
}
attributes["for"] = "check"
i("fas fa-bars")
}
.check-label {
margin-right: 40px;
padding-top: 20px;
font-size: 30px;
color: white;
float: right;
line-height: 80px;
cursor: pointer;
display: block;
}
@media only screen and (min-width: 992px) {
.check-label {
display: none;
}
}
<label class="check-label" for="check">
<i class="fas fa-bars">
</i>
</label>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment