CNM webpage
A CNM webpage (hereinafter, the Page) is a webpage designed, developed, and maintained by Friends Of CNM.
Technical requirements
- Adaptive, cross-browser and semantic layout
- Validity and availability
- Support for modern browsers including such dinosaurs as Safari10 + IE10 +
- Mandatory testing, for example, using browserstack
- Adherence to the principles of DRY
- It is highly desirable to use preprocessors in work
- It is highly desirable to use any methodology for naming selectors (eg BEM)
- It is highly desirable to use assembly and automation with webpack, gulp or grunt
- Animations should use the property of the transform in the maximum and only then the rest
- If any third-party libraries are used, then they must be rolled out locally
- It is desirable to do without frameworks, and if you really want it, let it be something modern and without cascades, the 4th bootstrap for example
- All the code for the production version of the assembly should be optimized, it is concocted where necessary, minimized
- Images must also be optimized
- For images, it is better to use svg - there are no problems with the retina, and they too should be optimized
- Media requests to write better not from big to small (max-width), but vice versa from smaller to larger (min-width)