ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

In media Queries whats the difference between mobile first and desktop first development. How would you layout the media queries?

user-image
تم إضافة السؤال من قبل Waleed Butt , Creative Web Developer , addictivemobility
تاريخ النشر: 2014/07/08
Chandni Sharma
من قبل Chandni Sharma , Senior Software Engineer , Emirates/dnata

Mobile first and desktop first are2 approaches to writting the CSS for you website. 

 

In mobile first approach, your base css is for the mobile view and you add css with different breakpoints moving up in the size (tablet and desktop)

 

The desktop first is the reverse. Here your base css is for the desktop view, and you add the necessary css to change the UI for the mobile view with the different breakpoints. (tablet, mobile).

 

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟