Skip to content

Instantly share code, notes, and snippets.

Kris krishammons

Block or report user

Report or block krishammons

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@krishammons
krishammons / ContentBlock-After.scss
Last active Aug 15, 2018
A simple BEM refactor of layout component
View ContentBlock-After.scss
.ContentBlock {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
// Modifiers
&--withBottomMargin {
margin-bottom: 2rem;
}
// Children elements
&-header {
View compiled-css-transform.css
/* Compiled CSS */
.Block {
-webkit-transform: translateY(50px);
-moz-transform: translateY(50px);
-ms-transform: translateY(50px);
-o-transform: translateY(50px);
transform: translateY(50px);
}
@krishammons
krishammons / bourbon-transform.scss
Last active Jan 21, 2016
Bourbon Transform Example
View bourbon-transform.scss
// Bourbon Tramform Mixin
.Block {
@include transform(translateY(50px));
}
You can’t perform that action at this time.