I'm wondering if it's a good practice to use px in my project. Should I go for it or are there better alternatives that I should consider? I'm mainly concerned about the scalability and responsiveness of my design.
6 answers
Carlo
Tue Nov 26 2024
This makes REM units ideal for creating responsive designs that adapt to different screen sizes.
Tommaso
Tue Nov 26 2024
For other properties, such as width, height, padding, and margin, PX units are typically used.
KatanaSwordsmanship
Tue Nov 26 2024
The question of whether to use REM or PX in web design often arises.
Eleonora
Tue Nov 26 2024
PX units provide a fixed measurement that does not change with the font size.
Alessandro
Tue Nov 26 2024
For font sizes, REM units are generally recommended.