mthanh2209 / html-css-training

https://html-css-course-rouge.vercel.app
0 stars 0 forks source link

Question 7 #7

Open mthanh2209 opened 1 year ago

mthanh2209 commented 1 year ago

What is the effect of Fr Unit?

hungnguyenhuu-agilityio commented 1 year ago

px is a fixed unit and so what? should we use px? what is affected of?

mthanh2209 commented 1 year ago
  1. Using "px" for responsive design can be problematic and is generally not recommended. Because it represents a fixed size that does not change regardless of the screen resolution or device size.
  2. This lack of flexibility can lead to several issues:
    • lead to less flexible and responsive layouts.
    • may result in a layout that looks great on one device but appears small or oversized on another, leading to an inconsistent user experience.