R
R
rizzli2014-10-06 13:08:39
css
rizzli, 2014-10-06 13:08:39

Grunt sass + zurb fundation. The output is an obscenely large css file with style repetitions. How to compile correctly?

Decided to try what kind of beast SCSS. I do according to the instructions from foundation.zurb.com/docs/sass.html
After compilation (grunt build), the CSS file is three times larger than if you download an already assembled project. And the styles like

html, body {
  height: 100%; }

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

html, body {
  font-size: 100%; }

body {
  background: white;
  color: #222222;
  padding: 0;
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 1.5;
  position: relative;
  cursor: auto; }

a:hover {
  cursor: pointer; }

img {
  max-width: 100%;
  height: auto; }

What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kamyannoy, 2014-10-12
@redfieldone

See what you include. Naturally, the body selector can be found in foundation , normalize , and your styles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question