display (CSS)
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Vetia display vendos si sillet një element në faqe: block e zë gjithë rreshtin (si <div>), inline rri brenda tekstit (si <span>), none e fsheh plotësisht, ndërsa flex dhe grid hapin mënyrat moderne të rreshtimit.
EnglishEN
The display property decides how an element behaves on the page: block takes the whole line (like <div>), inline sits within text (like <span>), none hides it completely, while flex and grid unlock the modern layout methods.
Si ta mendosh
block është si një tavë që zë gjithë raftin e furrës; inline si ullinjtë mbi pica, në rresht me gjithçka tjetër.
Lexoje në anglisht
block is like a baking tray that takes up a whole oven shelf; inline is like olives on a pizza, sitting in line with everything else.
Shembull kodicss
.menyja { display: flex; }
.fshehur { display: none; } /* nuk shfaqet fare */
span { display: inline-block; }