You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEM (Block Element Modifier) methodology, combined with a style of nesting that is characteristic of preprocessors like Sass or modern native CSS nesting. The use of class names like .teaser__title (block__element) and .teaser--small (block--modifier) is a hallmark of BEM, which helps organize and scale CSS
.teaser {
padding: 2em;
&__learn-more {
border: 1px solid $color-border;
}
&__title {
font-size: 2em;
}
&__icon {
width: 16px;
}
&--small {
padding: 1em;
}
}