Skip to content

Instantly share code, notes, and snippets.

@nishinoshake
Last active January 8, 2017 07:30
Show Gist options
  • Save nishinoshake/8680f5373d3cd642d1143ab85e709825 to your computer and use it in GitHub Desktop.
Save nishinoshake/8680f5373d3cd642d1143ab85e709825 to your computer and use it in GitHub Desktop.
CSS Style Guide
// ==========================================================================
// Foundation
// ==========================================================================
@import "foundation/_variables"
@import "foundation/_reset"
@import "foundation/_base"
// ==========================================================================
// Component
// ==========================================================================
@import "component/_parts"
@import "component/_search"
// ==========================================================================
// Partial
// ==========================================================================
@import "partial/_menu"
@import "partial/_main"
@import "partial/_list"
@import "partial/_detail"
// component
.c-button
width: 200px
// state
.is-active
opacity: 1
.has-child
opacity: 1
// nested
.menu
position: relative
&__title
font-size: 2rem
&--sub
font-size: 1.6rem
&__label
font-weight: bold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment