Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 907 Bytes

css.md

File metadata and controls

20 lines (14 loc) · 907 Bytes

The CSS Style Guide

We follow https://cssguidelin.es. In the css naming convention, we are aligned with the Hyphen Delimited convention instead of BEM-like one. For SASS, we follow https://sass-guidelin.es/

CSS Units

Refer to this table to decide which unit to use in each case.

Unit Use for
rem font-size, dimensions (margin, padding, height, width)
% width (responsive containers)
px small details (borders, corners, shadows, images), media queries
unitless line-height

More info: