Mobile-first design
Në shqip: Dizajni që fillon nga telefoni
ShpjegimiSQ
Projekto fillimisht për ekranin e vogël të telefonit, pastaj zgjeroje për tablet dhe desktop me media queries. Shumica e vizitorëve sot vijnë nga telefoni — dhe të detyron të përqendrohesh te thelbi.
EnglishEN
Design first for the small phone screen, then expand for tablet and desktop with media queries. Most visitors today come from phones — and it forces you to focus on the essentials.
Si ta mendosh
Si të paketosh fillimisht çantën e dorës, pastaj valixhen e madhe.
Lexoje në anglisht
Like packing the carry-on first, then the big suitcase.
Shembull kodicss
.karta { padding: 1rem; }
@media (min-width: 768px) {
.karta { padding: 2rem; }
}