Sass makes CSS fun!
And of course I don't need to remind you that I usually use a mixture between CSS custom properties & Sass mixin and function Which makes it easy as I enter only one number and all these numbers will be calculated for me.
Now you determine how the button deals with the surrounding elements and with the elements inside. Previously I used display: Block; then i use display: inline; Recently I was learning React and discovered MUI And as usual, the first thing I did was look at how they did their button And found them using inline-flex
⚠️ Please don't submit PRs here as they will be closed. To edit the docs or source code, please use the main repository:
Create Pixel Perfect, Scalable Designs Using CSS Variables
4 projects | dev.to | 4 Nov 2022
Analytics Integration with TypeScript, React and Styled Components - Part 1: Setting up the Tools
3 projects | dev.to | 5 Dec 2022
Intégration analytics avec TypeScript, React et les Styled Components
7 projects | dev.to | 5 Dec 2022
Learn ReactJS for Free | ReactJS Resources
1 project | dev.to | 4 Dec 2022
I found out how to style an individual component in an Array.map() without using state.
1 project | reddit.com/r/react | 2 Dec 2022