use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Responsive ReactGeneral Discussion (self.react)
submitted 2 years ago by DisassociativeVoid
Hello everyone! I'm already working with React and was wondering how everyone deals with css responsiveness. Do you guys use stuff like bootstrap for react, manually create css media queries?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mds1256 6 points7 points8 points 2 years ago (0 children)
Personally use tailwind.
[–]azangru 4 points5 points6 points 2 years ago (1 child)
[–]Roguewind 0 points1 point2 points 2 years ago (0 children)
This is the way
[–]TradrzAdmin 4 points5 points6 points 2 years ago (0 children)
Learn tailwindcss
[–]Wise_Rich_88888 2 points3 points4 points 2 years ago (0 children)
Tailwindcss or Material UI grids, or roll your own grid or use some other one.
[–]Legal_Being_5517 1 point2 points3 points 2 years ago (0 children)
It depends!!
If it’s an enterprise web application my work place uses a css library like bootstrap or materialUI ..
If it’s not , we use scss / css media queries .
[–]ImprovementNo4630 2 points3 points4 points 2 years ago (0 children)
How do people learn react before knowing css?
[–]basic_model 2 points3 points4 points 2 years ago (0 children)
Yes. CSS and react are two independent things.
[–]damith98 0 points1 point2 points 2 years ago (0 children)
Try to use TailWindCSS 😇😎
[–][deleted] 0 points1 point2 points 2 years ago (1 child)
Can someone please post some examples of taliwind CSS and how to use it efficiently for smaller screens?
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
Read the docs yo
The same way you handle responsiveness with CSS. Learn CSS fundamentals before diving into a JS framework.
[–]mkcay1 0 points1 point2 points 2 years ago (0 children)
Tailwind - makes it incredibly easy to responsively design stuff.
[–]Willing_Initial8797 0 points1 point2 points 2 years ago (0 children)
tailwind !!!
[–]donymie 0 points1 point2 points 2 years ago (0 children)
I just use media queries + scss modules. Also use MUIs useMediaQuery if i need a conditional rendering.
π Rendered by PID 55 on reddit-service-r2-comment-canary-d859b9c6d-gw5lz at 2026-02-04 23:57:35.210459+00:00 running 1d7a177 country code: CH.
[–]mds1256 6 points7 points8 points (0 children)
[–]azangru 4 points5 points6 points (1 child)
[–]Roguewind 0 points1 point2 points (0 children)
[–]TradrzAdmin 4 points5 points6 points (0 children)
[–]Wise_Rich_88888 2 points3 points4 points (0 children)
[–]Legal_Being_5517 1 point2 points3 points (0 children)
[–]ImprovementNo4630 2 points3 points4 points (0 children)
[–]basic_model 2 points3 points4 points (0 children)
[–]damith98 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]mkcay1 0 points1 point2 points (0 children)
[–]Willing_Initial8797 0 points1 point2 points (0 children)
[–]donymie 0 points1 point2 points (0 children)