Skip to content

CSS: stacking

.--stack-topmost — z-index गहराई उपयोगिताएँ — .--stack-<level> (deepest, below, above, topmost) — किसी भी कंपोनेंट पर अकेले या चेन के रूप में उपयोग करने योग्य, ताकि परतें हाथ से सेट किए गए नंबरों की बजाय पूर्वानुमानित रूप से स्टैक हों।

Source: index.ts

उपयोग

css
@import "@pantoken/components/utilities.css";

उदाहरण

html
<div class="--stack-topmost">Always on top.</div>

मॉडिफायर

मॉडिफायरविवरण
.--stack-aboveडिफ़ॉल्ट फ्लो के ऊपर।
.--stack-belowडिफ़ॉल्ट फ्लो के नीचे।
.--stack-deepestसबसे कम स्टैकिंग गहराई।
.--stack-topmostसबसे अधिक स्टैकिंग गहराई (ओवरले, मेनू)।

उपयोग किये गए टोकन

Tokenप्रकारमान
--instui-component-view-stacking-above<integer>1
--instui-component-view-stacking-below<integer>-1
--instui-component-view-stacking-deepest<integer>-9999
--instui-component-view-stacking-topmost<integer>9999