Top "Jss" questions

Use this tag for questions about JSS - a Javascript tool for CSS.

jss how to change opacity for a color

Currently I am using the following code to add a color to an element using jss. I would like to …

javascript reactjs material-ui jss
How to override styles for material-ui TextField component without using the MUIThemeProvider?

How would I hide / remove the underline in a TextField component without using the following code: const theme = createMuiTheme({ overrides: { …

reactjs material-ui jss
idiomatic way to share styles in styled-components?

trying to port some code from jss to styled-components, jss code looks something like: //... const styles = { myStyles: { color: 'green' } } const {…

javascript styled-components jss
How to style button from MUI icon button

I am wondering how to apply styles to the Material UI's underlying Button from the IconButton. For example, in order …

reactjs material-ui jss
How to use child selectors in JSS

I'm experimenting with JSS to see if it is realistic to migrate a Sass code base. I have a very …

javascript jss
material-ui and TypeScript: How to use !important?

I'm building a React application and I'm using material-ui for my components. I wonder how I can give an !important …

reactjs typescript material-ui jss
Adding ellipsis and tooltip after two lines text - React

Is it possible to create a React component that can add the ellipsis after two lines and show the tooltip …

css reactjs material-ui jss
How to apply custom animation effect @keyframes in MaterialUI using makestyles()

I have learnt to use animation in css using @keyframe. I however want to write my custom animation code to …

css reactjs material-ui jss
How to implement `CSS` nested rules in `JSS`?

I would like know how to work with css class-nesting in Material-UI or in JSS in general?I am trying …

css material-ui jss
Nested class in another selected class with makeStyles

I need to know how to target 'element' when root is selected This is makeStyles: const useStyles = makeStyles(theme => ({ …

css reactjs material-design material-ui jss