In my current project, I've decided to integrate Bootstrap 4 and start using the 'rem' unit for lengths. Initially, I set 'rem = 10px' to simplify conversions from pixels. However, this caused a problem because Bootstrap now primarily uses 'rem' instead of 'px', resulting in elements appearing too small by default. This led me to manually style each element, including buttons, to adjust the size properly.
For instance, the font-size for '.lead' is set as 1.25rem = 12.5px, which is smaller than desired.
I'm curious about other developers who use Bootstrap in their projects - do they prefer using 'rem' or 'px' as the length unit? And if it's 'rem', is the standard value set as '10px' or '16px'?
Edit: Including an image link for further clarity
https://i.sstatic.net/xJHRk.png
I hope this question makes sense.