You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working in a big, grown project with hells of CSS, trying to introduce SCSS/SASS and Styledocco there step for step.
For the examples of the output styledocco gives me (we are using maven and grunt), I include generated sprite css files (which works fine with the include option). Is there any way to include the images the CSS is relying on as well?
The text was updated successfully, but these errors were encountered:
I found a way to make this work... at least in chrome.
I use a copy task to copy the image directories into the directory where the styledocco output is saved
I start a local browser (using grunt server, but any will do), so that the absolute paths of the css backgrounds are correct.
Unfortunately this is working in Chrome, but does not work in Firefox. It seems to have something to do with the preview iframe URL. In Firefox there is "data:text/html;...." (which generates a URL like chrome://browser/... for images referenced in CSS), in Chrome the iframe URL is the local URL with an anchor.
I am working in a big, grown project with hells of CSS, trying to introduce SCSS/SASS and Styledocco there step for step.
For the examples of the output styledocco gives me (we are using maven and grunt), I include generated sprite css files (which works fine with the include option). Is there any way to include the images the CSS is relying on as well?
The text was updated successfully, but these errors were encountered: