HTML Rules:
Tools:
- bootstrap 4.3.1.
- Main
- follow styleguide;
- all non-unique class names have a prefix 'main';
- we round indents(margin, padding) to 4: 3, 5 => 4; 6, 7, 9 => 8; 10, 11, 13 => 12.
- Path/
- stubs app/assets/stylesheets;
- fonts app/assets/stylesheets/fonts
- for images app/assets/images.
-
BEM naming block__element; block-name__element-name; block__element--modifier; block__element--modifier-name.
-
Elements States
-
Elements sizes
- big, large, huge - lg;
- medium - md;
- small, little - sm.
- Elements weight We use numeric values to indicate the font weight.
- 400 for regular;
- 600 for semi-bold;
- 700 for bold.
- Pseudo-elements
- :before, :after write with one colons.