سانچہ:Flex columns
This template creates a two-column layout, where contents within the columns will have the same height, with any extra whitespace distributed throughout the shorter columns contents. It is mainly intended for use in portals.
This sort of layout requires browsers to support CSS flexbox. For those that don't there is a fallback that will show a two column view, but without the heights being the same (a layout many portals used as at July 2018).
For narrow screens, e.g. mobile devices, the display reverts to a single column.
Usage
[ترمیم]{{Flex columns
|1 = (...first column contents...)
|2 = (...second column contents...)
}}
Only contents which are in <div>...</div>
tags will have extra whitespace distributed to them – except for those with class flex-columns-noflex
(or otherwise override the flex:
property)
To change the column balance, |flex1=
and/or |flex2=
can be set. The default is 1
. For example:
|flex1=3 |flex2=2
will result in the first column taking up to 60% (3/5) of the available width, and the second column taking up at least 40% (2/5) of the width.
Note that the actual column balance will vary depending on screen size, since the minimum width of each column is set at 360px.
Example
[ترمیم]{{Flex columns|{{lorem ipsum|3}}|{{lorem ipsum|2}}}}
اپنے وسیع تر مفہوم میں ہر وہ تحریر جو کسی شکل میں محفوظ کی گئی ہو کتاب کہلاتی ہے۔ گویا مٹی کی تختیاں، پیپرس کے رول، اور ہڈیاں جن پر تحریر محفوظ ہے کتاب ہے؛ یہ چمڑے یا جھلی پر بھی ہو سکتی ہے اور کاغذ پر بھی۔ کتاب لکھے اور چھاپے گئے کاغذوں کے مجموعہ کو کہتے ہیں ، جن کی جلد بندی کی گئی ہواور انھیں محفوظ کرنے کے لیے جلد موجود ہو۔
اس قوم کو علم و حکمت کی کیا قدر جو مہنگا جوتا خریدنے میں فخر اور سستی کتاب لینے میں دقت محسوس کرے۔ایسا کیوں نہ سمجھا جائے کہ اس قوم کو کتابوں سے زیادہ جوتوں کی ضرورت ہے۔
( امر جلیل )اپنے وسیع تر مفہوم میں ہر وہ تحریر جو کسی شکل میں محفوظ کی گئی ہو کتاب کہلاتی ہے۔ گویا مٹی کی تختیاں، پیپرس کے رول، اور ہڈیاں جن پر تحریر محفوظ ہے کتاب ہے؛ یہ چمڑے یا جھلی پر بھی ہو سکتی ہے اور کاغذ پر بھی۔ کتاب لکھے اور چھاپے گئے کاغذوں کے مجموعہ کو کہتے ہیں ، جن کی جلد بندی کی گئی ہواور انھیں محفوظ کرنے کے لیے جلد موجود ہو۔
اوپر دی گئی دستاویز صفحہ سانچہ:Flex columns/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |