-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Zura Gabievi edited this page Nov 19, 2015
·
10 revisions
-
Mixins - Collection of BEM Mixins
- Block - Creates block type selector
- Element - Creates element type selector
- Modifier - Creates modifier type selector
- Relations - Relationship Mixins
-
States - Element State Mixins
- is - Addes state to selector
- hover - Addes hover state to selector
- focus - Addes focus state to selector
- active - Addes active state to selector
- checked - Addes checked state to selector
- disabled - Addes disabled state to selector
- readonly - Addes readonly state to selector
- contenteditable - Addes contenteditable state to selector
- Pseudo Element - Pseudo Class Mixins
-
Functions - Collection of helper functions
- bem-index() - Returns first index of bem separator
- get-block() - Returns bem block from string
- is-block() - Checks if given string is block
- is-element() - Checks if given string is element
- is-modifier() - Checks if given string is modifier
- math-min() - Returns smallest number from 2 numbers, or default
- explode() - Returns list from string