Commit 794204b6 authored by Nikolay Gromov's avatar Nikolay Gromov

Описание: добавил и подправил

parent 44c6483e
...@@ -119,6 +119,21 @@ node createBlock.js demo-block pug js # создаст папку блока, de ...@@ -119,6 +119,21 @@ node createBlock.js demo-block pug js # создаст папку блока, de
4. [postcss-inline-svg](https://github.com/TrySound/postcss-inline-svg) 4. [postcss-inline-svg](https://github.com/TrySound/postcss-inline-svg)
6. [postcss-object-fit-images](https://github.com/ronik-design/postcss-object-fit-images) (в паре с [полифилом](https://github.com/bfred-it/object-fit-images)) 6. [postcss-object-fit-images](https://github.com/ronik-design/postcss-object-fit-images) (в паре с [полифилом](https://github.com/bfred-it/object-fit-images))
### Стилевой код-гайд
Автопроверка с [stylelint](https://stylelint.io/) и плагинами. См. `.stylelintrc`.
1. БЭМ-именование: `__` — разделитель элемента, `--` — разделитель модификатора.
2. Один Блок = один стилевой файл.
3. Очередность селекторов:
- Инклуды примесей
- Стилевые правила сущности
- Медиаусловия
- Псевдоселекторы и псевдоэлементы
- Сторонние вложенные селекторы
- Элементы блока
- Модификаторы блока
## Скрипты ## Скрипты
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment