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.

41 lines
1.3 KiB

7 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 probability of errors.
  5. ## Coding Style
  6. 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.
  7. ## Not Fancy but Small
  8. 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.
  9. ## Getting Started
  10. ```
  11. npm install crispy-boilerplate
  12. ```
  13. Main SCSS-File:
  14. ```
  15. @import
  16. "crispy";
  17. ```
  18. After this, include Mixins you need:
  19. ```
  20. @include crispy__*()
  21. ```
  22. To overwrite defaults simple add your own config-file after importing crispy:
  23. ```
  24. @import
  25. "crispy",
  26. "config";
  27. ```