Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Latest commit

 

History

History
39 lines (31 loc) · 787 Bytes

README-html-css.md

File metadata and controls

39 lines (31 loc) · 787 Bytes

HTML Rules:

Tools:

  • bootstrap 4.3.1.
  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.
  1. Path/
  • stubs app/assets/stylesheets;
  • fonts app/assets/stylesheets/fonts
  • for images app/assets/images.
  1. BEM naming block__element; block-name__element-name; block__element--modifier; block__element--modifier-name.

  2. Elements States

  3. Elements sizes

  • big, large, huge - lg;
  • medium - md;
  • small, little - sm.
  1. Elements weight We use numeric values ​​to indicate the font weight.
  • 400 for regular;
  • 600 for semi-bold;
  • 700 for bold.
  1. Pseudo-elements
  • :before, :after write with one colons.