Most voted "stylus" questions
None
Learn more…11 questions
Sort by count of
-
25
votes2
answers1645
viewsWhat are the structural and syntax differences between Sass, Less and Stylus?
Nowadays it’s hard to see people writing "old-fashioned CSS" because of pre-processors that make it easy to write by removing code repeats, and syntax simplification. I would like to understand what…
-
6
votes1
answer52
viewsWhy isn’t Stylus identifying classes?
I’m having a problem with Stylus. Compiling my code by Node sometimes it gives a bug, it seems that it does not identify the classes because of the . generating the following error: expected…
-
3
votes1
answer151
viewsGulp Task - Compile Stylus for CSS
After a lot of fighting, I started making the page of my portfolio. I took the opportunity to use a few things I was learning, among them the Gulp and Stylus. For the construction of CSS I am using…
-
2
votes1
answer83
viewsPrefixes using Css Stylus
Hello, I’m starting to use css Stylus and I’m having trouble adding the browser prefixes. Is there any autoprefixer that adds everything automatically or have to do everything manual? Thank you. Obs…
-
1
votes0
answers151
viewsHow can I use Gulp-Stylus, Jeet and rupture with Gulp-load-plugins
If I use Stylus with Jeet and Rupture, my gulpfile.js would look like this: .pipe(stylus({ use:[prefixer(), jeet(), rupture()], compress: true })) Now, I modularized my Gulp tasks with…
-
1
votes1
answer27
viewsPreprocessor Stylus - Error running Stylus watch
Hello, I have the following problem: When rotating the command stylus main.styl main.css -w the stylus compiles what is saved, that is, it takes what is in the files styl/title.styl and…
-
0
votes1
answer243
viewsCannot read Property 'nodes' of Undefined
I’m getting the ERROR below when trying to implement a stylization in my project with Stylus. The same goes for background: url(...); and I think for any other attempt related. I found in the Github…
-
0
votes1
answer46
viewsPre processors and how to work with them
Hello community people, I doubt how to work with pre processors, after all I have to rewrite the code twice ? or will I have to copy and paste into an online converter? have mto enteresse in using…
-
0
votes1
answer11
viewsHow to use Stylus lookup on an Object hash
There is a way to use the function lookup to apply hash objects within a for? I’m using it this way: $color= { $success: { bg: #4caf50, ... } , $error: { bg: #f44336, ... } , $warning: { bg:…
-
0
votes2
answers58
viewsDynamic class in Stylus
Is it possible to retrieve a part of a class name in an element and pass as value to the CSS property using Stylus? Example .font-word-spacing-light--1 { word-spacing: -0.1px !important }…
-
0
votes1
answer327
viewsCSS: Pass values/parameters through class names
I would like to know if there is the possibility of informing values through class names to be used as values in the properties of the same. Example: .text-(color) { color: (color); } The result…