Questions tagged [Stylus] (40)

0
answer

How to create a loop for nth-child?

Hello, I work in preprocessor stylus. The task is to make the following code using loop, I do not understand what is wrong Code for css: .example .example__item:nth-child(1) grid-area: item1 .example .example__item:nth-child(2) grid-area: item2 .example .example__item:nth-child(3) grid-area: item3 On stylus: .example fo...
Chesley asked April 19th 20 at 11:59
1
answer

How to change the color of spinner evergreen ui?

the documentation website https://evergreen.segment.com/get-started/theming/ In order to style your app, you must wrap it in the ThemeProvider component. This component uses the React.Context API under the hood. ThemeProvider not imported, import {ThemeProvider} from 'evergreen-ui'; how to change the color of spinner ?????...
rey_Pur asked April 8th 20 at 02:50
1
answer

How to change the color of svg when clicked on its background?

How to change the color of svg when clicked on a round background? I found only how to change when clicking on the svg itselfsnippet
estel59 asked April 4th 20 at 00:10
1
answer

How to select all elements with the same end in Stylus?

For example, there are classes ".link--hide", ".image--hide", ".image--show" , as in this case, to determine so that only classes end --hide , added, certain properties and is this possible in Stylus?
Cleve.Kie asked April 3rd 20 at 18:33
1
answer

How to automatically compile Stylus in VSCode?

The question arose on the agenda. Is it possible to automatically compile Stylus into CSS in the same folder with the same name without the use of collectors (WebPack, Gulp)? I rummaged through the pile, found nothing sensible or understandable to themselves. Can someone tell me?
Ruben asked April 2nd 20 at 17:34
0
answer

How to remove indent from the right on the wordpress site?

How to remove indent from the right, I go from phone to website right of the website there is a white stripe, and the same thing.
Carson95 asked April 2nd 20 at 15:52
1
answer

How to remove the indentation of text select?

Hello, please tell me how to remove non-existent indentation select, it is necessary that the text pressed to the left edge, no matter how js or css.<select name="nationality" id="nationality" class="signup__signup select__select--nationality"> <option value="American" selected="selected">American</option&g...
Carmela_Collins asked April 1st 20 at 17:09
1
answer

Why button created using styled component works only with 2 times?

Why button created using styled React component works only with 2 times? the default button works immediately here is the code create the button const SendButton = styled.button` z-index:100; background:orangered; margin: 0 auto; border: none; font-size: 20px; padding: 5px 10px; color: white; &:hover { cursor:poin...
Dave_Predov asked April 1st 20 at 15:59
1
answer

Is it possible stylus to use variables in the paths?

Who uses this preprocessor, tell me, does he have the possibility of variable values to substitute in the way? For example I have the path src: url('../fonts/SourceSansPro/SourceSansPro-BlackItalic.eot'); I want instead of /SourceSansPro/ use a variable /fonts/variable/SourceSansPro-BlackItalic.eot' Is it possible?
tia asked March 29th 20 at 19:42
1
answer

There is a sidebar. No smooth scrolling + body beneath him spinning. How to fix?

Greetings to all! Faced such problem - there is a sidebar that goes on top of the body 100% width:.fullwidth_sidenav { height: 100%; width: 0; position: fixed; z-index: 120; top: 0; left: 0; color: #fff; background-color: #303030; overflow-x: hidden; transition: 0.15 s; } What happens on the phone after opening:1....
Maurine asked March 27th 20 at 13:36