Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

7 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
  1. # Cripsy-Boilerplate - Less is more
  2. Flat Sass Boilerplate gives you an amount of basic settings, components, helpers, mixins and functions.
  3. The problem of most frameworks is they trying to hard adding a lot of styles, which has to be customized and documented
  4. if you used it for a Project. Often these changes cause a loss of performance and raise the propability of errors.
  5. [Documentation](https://crispy-boilerplate.readthedocs.io/en/latest/)
  6. ## Coding Style
  7. The boilerplate uses as coding style [http://getbem.com/](BEM), but as a more simpler idea of it. One of the benefits of BEM is that you create components and can reuse them. But one the other hand it can be really strange if you overthinking it.
  8. ## Not Fancy but Small
  9. Components are created to give you a structure and a basic set of styles and not to look fancy. The idea is to extend each component and save time to write a bunch of extra CSS code and therefore get more performance while minimize the causes of errors. Of Course is really Fancy to get more Performance and less Errors.
  10. ## Getting Started
  11. ```
  12. npm install crispy-boilerplate
  13. ```
  14. Main SCSS-File:
  15. ```
  16. @import
  17. "crispy";
  18. ```
  19. After this, include Mixins you need:
  20. ```
  21. @include crispy__*()
  22. ```
  23. To overwrite defaults simple add your own config-file after importing crispy:
  24. ```
  25. @import
  26. "crispy",
  27. "config";
  28. ```