I have a gulp task that is attempting to convert .scss files into .css files (using gulp-ruby-sass) and then place the resulting .css file into the same place it found the original file. The problem is, since I'm using a globbing pattern, I don...
I am making a css grid system that relies on the concept of blocks.  So I have a base file like:  $max-columns: 4; $block-width: 220px; $block-height: 150px; $block-margin: 10px;   And it is used by a mixin:  @mixin block ($rows, $columns, $max-colum...
I currently have some react components & sass that are being built with webpack successfully. I also have a main sass file that builds to css with a gulp task.  I'd like to only have to use one of these technologies, is it possible to just co...
I'm trying to remove the default blue background on the HTML select option hover effect and also style  the selected option effects with the block of CSS below  but it doesn't seem to be working. Ant ideas on how this can be achieved.      se...
When using CSS and JS components, is it possible, or even, does it make sense to install them to different directories?  . |-- app     |-- scripts         |-- components           # js components go here             |-- backbone-amd             |-- e...
i have this sass directory:  - _vars.scss - main.scss   //vars.scss  $base-container: 1400px;   //main.scss  @import './vars';   In other js file i have:  require('./some-module-sass-file');   //some-module-sass-file.scss  .container...
I'm learning Express.js 4 and Node, and I'm getting an error that I haven't been able to figure out.  I'm trying to use the node-sass package to compile my sass code, but I haven't been able to get it up and running.  Here is a st...
Background  Consider the following _variables.scss file:  /* Define all colours */ $white:    #fff; $black:    #000; $grey:     #ccc; // etc...  // Export the color palette to make it accessible to JS :export {     white: $white;     black: $black;...
I've made a really simple Express website that uses Jade and Sass, but I've run into a problem with my node-sass middleware.  My server only serves a CSS file once, and then returns a 404 for every subsequent request.  I have to restart the s...
I have bundled my app code using webpack 2. Used require statement on my main module to embed an SCSS file.  require('./styles/styles.scss');   While things work fine in all browsers, there is a FOUC (Flash Of Unstyled Content) visible when l...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.