cssinjs / cssinjs/jss

write selectors with vendor prefixes

Open
#1,146 3 comments 2 reactions 0 assignees View on GitHub
docs question
Dominant language
JavaScript
Stars
7.1k
Forks
386
PR merge metrics
No merged PRs in 30d

Description

Hi, how i can write selectors with vendor prefixes? Now I use jss together with [Material UI](https://material-ui.com/), I try to write this code, but it does not work. However, if I write this on vanilla css, the code works fine.

```
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported JSS and Material UI example from the issue body, then compare its vendor-prefixed selector handling with the equivalent vanilla CSS behavior. Done means determining whether the selector is supported as written and documenting or correcting the usage, with a regression test if the repository provides a relevant selector test entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.