technojam-frontend icon indicating copy to clipboard operation
technojam-frontend copied to clipboard

Generic CSS

Open ravisaxena23 opened this issue 4 years ago • 5 comments

description some CSS used in pages are common. Currently, CSS present in components is inline.

solution Inside "../src/Components/Styles" folder Create a separate CSS file for each component. with name _component.css import the CSS file in the component. replace inline CSS with generic classes.

alternatives you can apply your creativity just ping us what solution you are doing.

ravisaxena23 avatar Oct 02 '20 08:10 ravisaxena23

description some CSS used in pages are common. Currently, CSS present in components is inline.

solution Inside "../src/Components/Styles" folder Create a separate CSS file for each component. with name _component.css import the CSS file in the component. replace inline CSS with generic classes.

alternatives you can apply your creativity just ping us what solution you are doing.

Can I do that?

EnechukwuChibuike avatar Oct 02 '20 12:10 EnechukwuChibuike

@EnechukwuChibuike sure

ravisaxena23 avatar Oct 03 '20 03:10 ravisaxena23

@EnechukwuChibuike should I assign it to you?

ravisaxena23 avatar Oct 03 '20 03:10 ravisaxena23

@EnechukwuChibuike should I assign it to you?

Yes

EnechukwuChibuike avatar Oct 03 '20 10:10 EnechukwuChibuike

Hey, I would like to work on it. I was thinking of implementing the solution with css-modules. That way the scope will be limited to the component instead of having a global effect.

Eddges avatar Oct 09 '20 17:10 Eddges